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



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

Reply via email to