diff options
| author | Phil Nash | 2015-07-06 18:46:50 +0100 |
|---|---|---|
| committer | Phil Nash | 2015-07-06 18:46:50 +0100 |
| commit | 02e1966db3fc28cc7a61d731bb6dd7ed645cc9b2 (patch) | |
| tree | fe6ce319af54bc031cd030bb63903b65e6388dc5 /include/internal | |
| parent | 584032dfa4b66a2610049645480fc7846d735b79 (diff) | |
| download | catch3-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.hpp | 8 |
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; } |