diff options
| author | Phil Nash | 2013-12-20 19:06:02 +0000 |
|---|---|---|
| committer | Phil Nash | 2013-12-20 19:06:02 +0000 |
| commit | 886d9d397c33c47109f6e748010c7337b98ebc1f (patch) | |
| tree | c04a1b9e3963423e98bfa0beda46a661e3259cca /projects/SelfTest/CmdLineTests.cpp | |
| parent | f385a0b13dc65c78242fbd9ccb336f25b6d9cbae (diff) | |
| download | catch3-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.cpp | 2 |
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 ); |