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

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/CmdLineTests.cpp
diff options
context:
space:
mode:
authorPhil Nash2013-12-20 19:06:02 +0000
committerPhil Nash2013-12-20 19:06:02 +0000
commit886d9d397c33c47109f6e748010c7337b98ebc1f (patch)
treec04a1b9e3963423e98bfa0beda46a661e3259cca /projects/SelfTest/CmdLineTests.cpp
parentf385a0b13dc65c78242fbd9ccb336f25b6d9cbae (diff)
downloadcatch3-886d9d397c33c47109f6e748010c7337b98ebc1f.tar.gz
Reporter command line parser errors more eagerly
- show all “unrecognised option” errors
Diffstat (limited to 'projects/SelfTest/CmdLineTests.cpp')
-rw-r--r--projects/SelfTest/CmdLineTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/SelfTest/CmdLineTests.cpp b/projects/SelfTest/CmdLineTests.cpp
index 968a1529..3eb54d2f 100644
--- a/projects/SelfTest/CmdLineTests.cpp
+++ b/projects/SelfTest/CmdLineTests.cpp
@@ -116,7 +116,7 @@ TEST_CASE( "cmdline" ) {
.shortOpt( "d" )
.longOpt( "description" )
.hint( "some text" );
-
+
const char* argv[] = { "test", "-n 42", "-d some text" };
std::vector<Clara::Parser::Token> unusedTokens = parseInto( cli, argv, config1 );