|
From: | Lorenzo Bettini |
Subject: | Re: [help-gengetopt] Re: Gengetopt 2.21 enhancement suggestions |
Date: | Thu, 18 Oct 2007 08:51:19 +0200 |
User-agent: | Mozilla-Thunderbird 2.0.0.4 (X11/20070828) |
Papp Gyozo (VBuster) wrote:
I have explicitly said that I want enums.So do I. ;)However, 90 would not be a valid enum (since it starts with a number)What about rotate_90 after the option name in this example? In general the <option>_<value> form would be a deliberate decision because at this time I could change at least 5 string options to enums in one of my apps. The bunch of simple "enum_"s may confuse developers.
yes, that's a nice solution! :-) hope to work on that soon! cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
[Prev in Thread] | Current Thread | [Next in Thread] |