Hello!

I really like gengetopt, but I miss one feature to actually use it in a tool
of mine.

GNU BPEL2oWFN can be run in a whole different modes. I use one option
"--mode" to chose one of this modes, e.g. "--mode=net". Additionally, there
are a lot of parameters, currently invoked via "--parameter", e.g.
"--parameter=reduce".

Now I miss two features in gengetopt:

1. I would like to make certain parameters dependend on the mode chosen. For
example, parameter "reduce" should only be valid together with mode "net".
As far as I understand, I currently can only express dependence between
whole options, but not between their chosen values.

2. I would like to add descriptions not only to the option itself, but also
to the valid values. I know I could do this with "text" insertions, I like
the way gengetopt does all the wrapping and layout of the help output.

I know I could solve my problems by giving each mode value a single option,
e.g. "--net" or "--small", but I don't want to change the set of command
line parameters just because switching to gengetopt.

I hope you can help me. Again, great tool!

Cheers,
Niels.
-- 
View this message in context: 
http://www.nabble.com/Feature-requests%3A-dependencies-between-option-values--description-of-option-values-tp15618931p15618931.html
Sent from the Gnu - Gengetopt - Help mailing list archive at Nabble.com.



_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt

Reply via email to