Changeset 2609


Ignore:
Timestamp:
Nov 2, 2011, 1:18:24 AM (10 years ago)
Author:
Peter
Message:

Be consistent in error message, see
http://dev.thep.lu.se/svndigest/ticket/509

File:
1 edited

Legend:

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

    r2526 r2609  
    193193        std::stringstream ss2;
    194194        ss2 << ": invalid option -- " << (*arg)[i] << "\n"
    195             << try_help() << "\n";
     195            << try_help();
    196196        throw cmd_error(ss2.str());
    197197      }       
     
    209209      std::stringstream ss2;
    210210      ss2 << ": invalid option -- " << *arg << "\n"
    211           << try_help() << "\n";
     211          << try_help();
    212212      throw cmd_error(ss2.str());
    213213    }
Note: See TracChangeset for help on using the changeset viewer.