Hi all,

I came across an option that depends on a certain value of a required option. For example:

option "method" m "Method used" int values="1","2","3" default="1" required option "distance" d "Distance to be used for method 2" int dependon="method"

Basically option d needed only if method used is 2.

Is there any way of doing this?

Thanks so much,

D.

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

Reply via email to