bugGNU Gengetopt - Bugs: bug #35237, option --no-help used but still...

 
 

bug #35237: option --no-help used but still get: if you want to redefine --help, please use option --no-help

Submitted by:  Sebastian Freundt <hroptatyr>
Submitted on:  Wed 04 Jan 2012 03:23:34 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Lorenzo Bettini <bettini>
Originator Name: Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 02 Nov 2012 05:10:46 PM UTC, comment #2:

The problem was that --no-help and --no-version were not handled if specified inside the .ggo file with 'args'. They were correctly handled if specified at the command line for gengetopt.

However, now they are handled also if specified in args :)

Fixed in
http://git.savannah.gnu.org/cgit/gengetopt.git/commit/?h=devel&id=1a2e5080dbec6d56665a382e74463de26e34a23d

Lorenzo Bettini <bettini>
Project AdministratorIn charge of this item.
Thu 16 Feb 2012 03:24:41 PM UTC, comment #1:

Any ideas? I'm sort of desperate for this to be fixed.

Sebastian Freundt <hroptatyr>
Wed 04 Jan 2012 03:23:34 PM UTC, original submission:

I've specified --no-help through the args directive, yet I can't redefine --help.

Reproducible always, steps:

gengetopt <<EOF
args "--no-help"

option "help" h "test" optional
EOF
gengetopt:3: if you want to redefine --help, please use option --no-help

Sebastian Freundt <hroptatyr>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bettini (Posted a comment)
  • -unavailable- added by hroptatyr (Submitted the item)
  • -unavailable- added by hroptatyr
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 02 Nov 2012 05:10:46 PM UTCbettiniStatusNone=>Fixed
      Assigned toNone=>bettini
      Open/ClosedOpen=>Closed
    Wed 04 Jan 2012 03:23:34 PM UTChroptatyrCarbon-Copy-=>Added hroptatyr

    Back to the top


    Powered by Savane 3.1-cleanup