mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
671914b590
Sometimes errors would use a tab, sometimes four spaces. This makes it always four spaces and shares a definition with help.
14 lines
391 B
TOML
14 lines
391 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
|
|
"""
|