bugGNU Gengetopt - Bugs: bug #56427, Flags can get confusing

 
 

bug #56427: Flags can get confusing

Submitter:  Gray Wolf <gray_wolf>
Submitted:  Sat 01 Jun 2019 09:54:50 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 01 Jun 2019 09:54:50 PM UTC, original submission:  

Currently, flag for generation gengetopt version into the output files is by default `on`, and the flag is called `gen-version`. That is really confusing since that means that in order to disable the version in the output, you need to call it like `gengetopt --gen-version`. That implies that the version should be generated, not otherwise.

Probably fix will involve converting flag options to boolean one. That would mean no toggle, and posibility to do things like `--no-gen-version`, `--gen-version=0`, ...

Will be backwards incompatible change, so let's save it for 2.24.

Gray Wolf <gray_wolf>
Group administrator

 

(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 gray_wolf (Submitted the item)
  •  

    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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code