# HG changeset patch # User Alpar Juttner # Date 2008-04-18 07:20:32 # Node ID 483bc6ed7292c108f14489f72f2f3361e7b2f6be # Parent b82dc494bafca1859c5f73bc1f9556390bdd08e1 Backout some rubbish from chageset 7cd965d2257f 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 @@ -46,7 +46,7 @@ .refOption("grb","Choice B",g2) .refOption("grc","Choice C",g3) .optionGroup("gr","gra") - .optionGroup("gr","grbkk") + .optionGroup("gr","grb") .optionGroup("gr","grc") .mandatoryGroup("gr") .onlyOneGroup("gr") diff --git a/lemon/arg_parser.cc b/lemon/arg_parser.cc --- a/lemon/arg_parser.cc +++ b/lemon/arg_parser.cc @@ -194,7 +194,6 @@ { Opts::iterator i = _opts.find(opt); LEMON_ASSERT(i!=_opts.end(), "Unknown option: '"+opt+"'"); - if(i==_opts.end()) std::cout << "JAJJJJJJJJ\n"; LEMON_ASSERT(!(i->second.ingroup), "Option already in option group: '"+opt+"'"); GroupData &g=_groups[group];