helpGNU Gengetopt - Support: sr #108238, Feature Request - options...


sr #108238: Feature Request - options simultaneously member of an group and a mode

Submitted by:  None
Submitted on:  Sun 20 Jan 2013 07:48:44 PM UTC  
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

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


Sun 20 Jan 2013 07:48:44 PM UTC, original submission:

Hi gengetopt guys :)

Both groups and modes are powerful and useful.

But it seems ( at least to me ) that bringing the idea to the logical limit was to allow a certain option to be simultaneously a member of a mode and a group. This might be the simplest way to support "mutually exclusive groups of mutually exclusive options".

For example, I can't see how to have a certain mode of operation, where I can only select one option from among a group. To be fully expressive, an option would need to be in the cross product of a mode and a group, not either a mode or a group.

What would be your analysis? Any chance of adding this feature? I've marked it "4" because there is, of course, a workaround, but it is suboptimal, i.e. gengetopt related functionality of keeping options mutually exclusive would leak into the main program.

Thanks for your contributions to gengetopt,




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

Attach Files:

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

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

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3