Hello!

I have the following .ggo file:

-------------------------------------------
option "mode" m
  "User mode"
  string values="simulation","matching" enum
  typestr="MODE"
  default="simulation"
  optional
-------------------------------------------

When I call gengetop using

gengetopt --input=cmdline.ggo --c-extension=cc --long-help --include-getopt
--show-required

I get the following message:

gengetopt: bug found in gm.cc:636!!

With

gengetopt --input=cmdline.ggo --c-extension=cc --include-getopt
--show-required

(without "--long-help") everything is fine.

When I change the .ggo file to

-------------------------------------------
option "mode" m
  "User mode"
  string values="simulation","matching"
  typestr="MODE"
  default="simulation"
  optional
-------------------------------------------

(without "enum") then both above calls work OK.

Cheers,
Niels.
-- 
View this message in context: 
http://www.nabble.com/Bug-report%3A-combination-between-%22enum%22-and-%22--long-help%22-tp15618937p15618937.html
Sent from the Gnu - Gengetopt - Help mailing list archive at Nabble.com.



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

Reply via email to