help-gengetopt
[Top][All Lists]
Advanced

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

Re: [help-gengetopt] Overriding -h option


From: Lorenzo Bettini
Subject: Re: [help-gengetopt] Overriding -h option
Date: Thu, 07 Jul 2005 01:54:55 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)

Glad to hear that! :-)

Here you find a pre-release with the feature you requested

http://rap.dsi.unifi.it/~bettini/gengetopt-2.13.2.tar.gz

please let me know if this works fine

thanks
        Lorenzo

Lyle Brooks wrote:
Thanks.  This really is an excellent package.  Thanks for the
great work!

Quoting Lorenzo Bettini (address@hidden):

Lyle Brooks wrote:

I am grafting gengetopt into a legacy program that needs to maintain
-w and -h options (for width and height respectively).

Unfortunately, I do not seem to be able to get gengetopt to allow the
-h short option.  It seems like this is reserved for help (-h|--help).

I tried

gengetopt --no-handle-help --input=proj.ggo

thinking that would all me to specify option "pagewidth" w "Page Width" float typestr="inches" option "pageheight" h "Page Height" float typestr="inches"

unfortunately, I get this error message

gengetopt --no-handle-help --input=proj.ggo
proj.ggo:28: short option redefined
make: *** [cmdline.c] Error 1

Thanks for the report.

I'll work on making -h and -V overridable.

Lorenzo

--
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        : http://www.lorenzobettini.it    |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://www.lorenzobettini.it/purple    Cover Band  |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
|  http://www.lorenzobettini.it/software/gengen       |
|  http://www.lorenzobettini.it/software/doublecpp    |
+-----------------------------------------------------+


_______________________________________________
Help-gengetopt mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gengetopt




--
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        : http://www.lorenzobettini.it    |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://www.lorenzobettini.it/purple    Cover Band  |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
|  http://www.lorenzobettini.it/software/gengen       |
|  http://www.lorenzobettini.it/software/doublecpp    |
+-----------------------------------------------------+




reply via email to

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