Fix CLI hints for colour and reporter options

This commit is contained in:
Martin Hořeňovský 2022-04-06 21:52:51 +02:00
parent 423e1d2ebb
commit c43947eb47
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
1 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ namespace Catch {
| Opt( config.defaultOutputFilename, "filename" )
["-o"]["--out"]
( "default output filename" )
| Opt( accept_many, setReporter, "name[:output-file]" )
| Opt( accept_many, setReporter, "name[::key=value]*" )
["-r"]["--reporter"]
( "reporter to use (defaults to console)" )
| Opt( config.name, "name" )
@ -292,7 +292,7 @@ namespace Catch {
( "set a specific seed for random numbers" )
| Opt( setColourMode, "ansi|win32|none|default" )
["--colour-mode"]
( "should output be colourised" )
( "what color mode should be used as default" )
| Opt( config.libIdentify )
["--libidentify"]
( "report name and version according to libidentify standard" )