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

Submitter:  Sebastian Freundt <hroptatyr>
Submitted:  Wed 04 Jan 2012 03:23:34 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bettini
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-11-02 bettini StatusNone Fixed
        Assigned toNone bettini
        Open/ClosedOpen Closed
    2012-01-04 hroptatyr Carbon-Copy- Added hroptatyr

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code