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

summaryrefslogtreecommitdiffhomepage
path: root/include/internal
diff options
context:
space:
mode:
authorPhil Nash2015-07-06 18:46:50 +0100
committerPhil Nash2015-07-06 18:46:50 +0100
commit02e1966db3fc28cc7a61d731bb6dd7ed645cc9b2 (patch)
treefe6ce319af54bc031cd030bb63903b65e6388dc5 /include/internal
parent584032dfa4b66a2610049645480fc7846d735b79 (diff)
downloadcatch3-02e1966db3fc28cc7a61d731bb6dd7ed645cc9b2.tar.gz
Changed --filenames-as-tags prefix to #, added -# as short form and updated docs
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/catch_commandline.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/internal/catch_commandline.hpp b/include/internal/catch_commandline.hpp
index d05cee96..d48d0d14 100644
--- a/include/internal/catch_commandline.hpp
+++ b/include/internal/catch_commandline.hpp
@@ -153,6 +153,10 @@ namespace Catch {
.describe( "load test names to run from a file" )
.bind( &loadTestNamesFromFile, "filename" );
+ cli["-#"]["--filenames-as-tags"]
+ .describe( "adds a tag for the filename" )
+ .bind( &ConfigData::filenamesAsTags );
+
// Less common commands which don't have a short form
cli["--list-test-names-only"]
.describe( "list all/matching test cases names only" )
@@ -173,10 +177,6 @@ namespace Catch {
cli["--force-colour"]
.describe( "force colourised output" )
.bind( &ConfigData::forceColour );
-
- cli["--filenames-as-tags"]
- .describe( "adds a tag for the filename" )
- .bind( &ConfigData::filenamesAsTags );
return cli;
}