demo/arg_parser_demo.cc
changeset 151 4d79daa40e9b
parent 128 7cd965d2257f
child 204 77d56a21c3ab
equal deleted inserted replaced
2:c4236678f952 3:965f94bf587f
    44     .refOption("nohelp", "", sil)
    44     .refOption("nohelp", "", sil)
    45     .refOption("gra","Choice A",g1)
    45     .refOption("gra","Choice A",g1)
    46     .refOption("grb","Choice B",g2)
    46     .refOption("grb","Choice B",g2)
    47     .refOption("grc","Choice C",g3)
    47     .refOption("grc","Choice C",g3)
    48     .optionGroup("gr","gra")
    48     .optionGroup("gr","gra")
    49     .optionGroup("gr","grbkk")
    49     .optionGroup("gr","grb")
    50     .optionGroup("gr","grc")
    50     .optionGroup("gr","grc")
    51     .mandatoryGroup("gr")
    51     .mandatoryGroup("gr")
    52     .onlyOneGroup("gr")
    52     .onlyOneGroup("gr")
    53     .other("infile","The input file.")
    53     .other("infile","The input file.")
    54     .other("...");
    54     .other("...");