Ignore:
Timestamp:
Oct 24, 2010, 2:52:25 AM (13 years ago)
Author:
Peter
Message:

avoid double colon (: :) in unrecognized option error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/CommandLine.cc

    r2265 r2347  
    145145          else if (iter==long_options_.end()) {
    146146            std::stringstream ss3;
    147             ss3 << ": unrecognized option `" << key << "'\n" << try_help();
     147            ss3 << "unrecognized option `" << key << "'\n" << try_help();
    148148            throw cmd_error(ss3.str());
    149149          }
Note: See TracChangeset for help on using the changeset viewer.