help-gengetopt
[Top][All Lists]
Advanced

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

[help-gengetopt] Bug report: combination between "enum" and "--long-help


From: nlohmann
Subject: [help-gengetopt] Bug report: combination between "enum" and "--long-help"
Date: Sun, 24 Feb 2008 04:37:08 -0800 (PST)

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.





reply via email to

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