1.1 --- a/demo/arg_parser_demo.cc Thu Apr 17 15:18:45 2008 +0100
1.2 +++ b/demo/arg_parser_demo.cc Thu Apr 17 15:54:30 2008 +0100
1.3 @@ -37,6 +37,7 @@
1.4 bool g1,g2,g3;
1.5 ap.refOption("n", "An integer input.", i, true)
1.6 .refOption("val", "A double input.", d)
1.7 + .doubleOption("val2", "A double input.", d)
1.8 .synonym("vals","val")
1.9 .refOption("name", "A string input.", s)
1.10 .refOption("f", "A switch.", b)
1.11 @@ -45,7 +46,7 @@
1.12 .refOption("grb","Choice B",g2)
1.13 .refOption("grc","Choice C",g3)
1.14 .optionGroup("gr","gra")
1.15 - .optionGroup("gr","grb")
1.16 + .optionGroup("gr","grbkk")
1.17 .optionGroup("gr","grc")
1.18 .mandatoryGroup("gr")
1.19 .onlyOneGroup("gr")