clap/tests/ui/error_stderr.toml
Ed Page 162a556dba fix(error): Try to soften unexpected argument/value errors
Adding "found" might seem minor but I feel it has a slight softening on the message.  It also maintains scanability as it is at the end and short.

As this is a one-off message change and not a styling issue to be consistent with, I think this is safe to put in a patch release.
2023-01-13 21:29:49 -06:00

11 lines
240 B
TOML

bin.name = "stdio-fixture"
args = ["--unknown-argument"]
status.code = 2
stdout = ""
stderr = """
error: unexpected argument '--unknown-argument' found
Usage: stdio-fixture[EXE] [OPTIONS] [COMMAND]
For more information, try '--help'.
"""