diff --git a/demo/arg_parser_demo.cc b/demo/arg_parser_demo.cc --- a/demo/arg_parser_demo.cc +++ b/demo/arg_parser_demo.cc @@ -37,6 +37,7 @@ bool g1,g2,g3; ap.refOption("n", "An integer input.", i, true) .refOption("val", "A double input.", d) + .doubleOption("val2", "A double input.", d) .synonym("vals","val") .refOption("name", "A string input.", s) .refOption("f", "A switch.", b) @@ -45,7 +46,7 @@ .refOption("grb","Choice B",g2) .refOption("grc","Choice C",g3) .optionGroup("gr","gra") - .optionGroup("gr","grb") + .optionGroup("gr","grbkk") .optionGroup("gr","grc") .mandatoryGroup("gr") .onlyOneGroup("gr")