Option objects now enforce min/ max args generically

This commit is contained in:
Phil Nash 2012-08-27 21:42:55 +01:00
parent e7db40034c
commit ecf934b045
4 changed files with 402 additions and 143 deletions

View file

@ -152,7 +152,7 @@ namespace Catch {
OptionParser& opt = **it;
os << " " << opt.optionNames() << " " << opt.argsSynopsis() << "\n";
}
os << "For more detail usage please see: https://github.com/philsquared/Catch/wiki/Command-line" << std::endl;
os << "\nFor more detail usage please see: https://github.com/philsquared/Catch/wiki/Command-line\n" << std::endl;
}
inline void showHelp( std::string exeName ) {
std::string::size_type pos = exeName.find_last_of( "/\\" );