help-gengetopt
[Top][All Lists]
Advanced

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

[help-gengetopt] Overriding -h option


From: Lyle Brooks
Subject: [help-gengetopt] Overriding -h option
Date: Tue, 5 Jul 2005 12:21:38 -0400
User-agent: Mutt/1.4i

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





reply via email to

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