On 16:15, J. David Bryan wrote:

>     What would be more flexible would be to allow "argtype" to be
>     specified in addition to "values=".  So if we had:
> 
>       option "rotate" r "Rotate clockwise" int values="0","90","180","270"
> 
>     ...then the return value would be one of the four integers converted
>     from a string.

Yes, that'd be nice. Ranges would probably also be quite useful:

        option "rotate" r "Rotate clockwise" int range="0..360"

Of course, gengetopt should check whether the given integer is in the allowed 
range.

Andre
-- 
The only person who always got his work done by Friday was Robinson Crusoe

Attachment: signature.asc
Description: Digital signature

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

Reply via email to