lemon/arg_parser.cc
changeset 210 81cfc04531e8
parent 209 765619b7cbb2
child 214 60eecd3fe37a
     1.1 --- a/lemon/arg_parser.cc	Sun Jul 13 19:51:02 2008 +0100
     1.2 +++ b/lemon/arg_parser.cc	Sun Jul 13 20:09:47 2008 +0100
     1.3 @@ -395,16 +395,16 @@
     1.4                o!=i->second.opts.end();++o)
     1.5              if(_opts.find(*o)->second.set) ++set;
     1.6            if(i->second.mandatory&&!set) {
     1.7 -            std::cerr << _command_name
     1.8 -                      << ": At least one of the following arguments is mandatory.\n";
     1.9 +            std::cerr << _command_name <<
    1.10 +              ": At least one of the following arguments is mandatory.\n";
    1.11              ok=false;
    1.12              for(GroupData::Opts::iterator o=i->second.opts.begin();
    1.13                  o!=i->second.opts.end();++o)
    1.14                showHelp(_opts.find(*o));
    1.15            }
    1.16            if(i->second.only_one&&set>1) {
    1.17 -            std::cerr << _command_name
    1.18 -                      << ": At most one of the following arguments can be given.\n";
    1.19 +            std::cerr << _command_name <<
    1.20 +              ": At most one of the following arguments can be given.\n";
    1.21              ok=false;
    1.22              for(GroupData::Opts::iterator o=i->second.opts.begin();
    1.23                  o!=i->second.opts.end();++o)