Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2012-06-02 23:26:32 +0100
committerPhil Nash2012-06-02 23:26:32 +0100
commit8d02b9306dd0abbdc44803d03537f266d83bb548 (patch)
treed7ce0ea571bc9dadb10c287e7be990f279c3c72a /include
parent0f9c551d4d29e82bb47e1c8ad279b0aad44eeb7a (diff)
downloadcatch3-8d02b9306dd0abbdc44803d03537f266d83bb548.tar.gz
Changed --cutoff to --abort
Diffstat (limited to 'include')
-rw-r--r--include/catch_runner.hpp2
-rw-r--r--include/internal/catch_commandline.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/catch_runner.hpp b/include/catch_runner.hpp
index 73204f1f..450e071e 100644
--- a/include/catch_runner.hpp
+++ b/include/catch_runner.hpp
@@ -84,7 +84,7 @@ namespace Catch {
<< "\t-s, --success\n"
<< "\t-b, --break\n"
<< "\t-n, --name <name>\n"
- << "\t-c, --cutoff [#]\n\n"
+ << "\t-a, --abort [#]\n\n"
<< "For more detail usage please see: https://github.com/philsquared/Catch/wiki/Command-line" << std::endl;
}
inline void showHelp( std::string exeName ) {
diff --git a/include/internal/catch_commandline.hpp b/include/internal/catch_commandline.hpp
index 52be1171..e7195d2f 100644
--- a/include/internal/catch_commandline.hpp
+++ b/include/internal/catch_commandline.hpp
@@ -162,7 +162,7 @@ namespace Catch {
config.setShowHelp( true );
}
- if( Command cmd = parser.find( "-c", "--cutoff" ) ) {
+ if( Command cmd = parser.find( "-a", "--abort" ) ) {
if( cmd.argsCount() > 1 )
throw std::domain_error( cmd.name() + " only accepts 0-1 arguments" );
int threshold = 1;