bug-autogen
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-autogen] AutoOpts equivalence group enhancement request


From: Mr Zenaan Harkness
Subject: [Bug-autogen] AutoOpts equivalence group enhancement request
Date: Fri, 12 Sep 2003 12:10:01 +1000

I have two options:
 --kept_delimiters <string>
 --dropped_delimiters <string>

which I use in a small utility to parse some input. I tokenize the
input, and I need to get delimiters from the command line, thus these
options, and my use of AutoOpts.

I need "at least one" of these two options to be present at least once.

The existing "equivalence" option attribute would suffice just fine, if
it were enhanced to assume something like this, when I use it to group
the two options, and on one of the options I have "min" and "max" option
attributes, which _should_ specify the minimum and maximum occurences of
all options within that group. In my case, I need a min=1, for options
within the group.

The bug is: when they are grouped, and I provide both options on the
command line, one of the options arguments ends up as the argument for
both options.

So I remove the grouping.

ta
zen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]