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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-01-02 21:19:22 +0100
committerMartin Hořeňovský2022-01-02 21:23:29 +0100
commiteeee4a49af77a51e0e870fbb9c07614bddda73f1 (patch)
treec997bc16cdc62dcd33730e51267f0dcf058cb86f /src/catch2/internal
parent0d1bdea69fd51739b06a69ccbac203dfecdb9e4b (diff)
downloadcatch3-eeee4a49af77a51e0e870fbb9c07614bddda73f1.tar.gz
Remove short flags from --list-tests and --list-tags
Diffstat (limited to 'src/catch2/internal')
-rw-r--r--src/catch2/internal/catch_commandline.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/catch2/internal/catch_commandline.cpp b/src/catch2/internal/catch_commandline.cpp
index ca0e1c20..dd7b9f6c 100644
--- a/src/catch2/internal/catch_commandline.cpp
+++ b/src/catch2/internal/catch_commandline.cpp
@@ -242,12 +242,6 @@ namespace Catch {
auto cli
= ExeName( config.processName )
| Help( config.showHelp )
- | Opt( config.listTests )
- ["-l"]["--list-tests"]
- ( "list all/matching test cases" )
- | Opt( config.listTags )
- ["-t"]["--list-tags"]
- ( "list all/matching tags" )
| Opt( config.showSuccessfulTests )
["-s"]["--success"]
( "include successful tests in output" )
@@ -296,6 +290,12 @@ namespace Catch {
| Opt( setVerbosity, "quiet|normal|high" )
["-v"]["--verbosity"]
( "set output verbosity" )
+ | Opt( config.listTests )
+ ["--list-tests"]
+ ( "list all/matching test cases" )
+ | Opt( config.listTags )
+ ["--list-tags"]
+ ( "list all/matching tags" )
| Opt( config.listReporters )
["--list-reporters"]
( "list all reporters" )