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: NonePriority: 5 - Normal
Severity: 4 - ImportantStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich 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,

Don

Anonymous

 

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

    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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup