Changeset 137:483bc6ed7292 in lemon-main
- Timestamp:
- 04/18/08 07:20:32 (17 years ago)
- Branch:
- default
- Children:
- 138:a0f755a30cf1, 141:96f81c791f0c, 150:f3af90ef0143
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/arg_parser_demo.cc
r128 r137 47 47 .refOption("grc","Choice C",g3) 48 48 .optionGroup("gr","gra") 49 .optionGroup("gr","grb kk")49 .optionGroup("gr","grb") 50 50 .optionGroup("gr","grc") 51 51 .mandatoryGroup("gr") -
lemon/arg_parser.cc
r128 r137 195 195 Opts::iterator i = _opts.find(opt); 196 196 LEMON_ASSERT(i!=_opts.end(), "Unknown option: '"+opt+"'"); 197 if(i==_opts.end()) std::cout << "JAJJJJJJJJ\n";198 197 LEMON_ASSERT(!(i->second.ingroup), 199 198 "Option already in option group: '"+opt+"'");
Note: See TracChangeset
for help on using the changeset viewer.