clap/tests/ui/error_stderr.toml
Ed Page 0184cf008a fix(parser): Quote the suggested help
We do it elsewhere but here it is only distinguished coloring.

Inspired by #4218
2022-09-15 16:24:59 -05:00

13 lines
387 B
TOML

bin.name = "stdio-fixture"
args = ["--unknown-argument"]
status.code = 2
stdout = ""
stderr = """
error: Found argument '--unknown-argument' which wasn't expected, or isn't valid in this context
If you tried to supply `--unknown-argument` as a value rather than a flag, use `-- --unknown-argument`
Usage: stdio-fixture[EXE] [OPTIONS] [COMMAND]
For more information try '--help'
"""