mirror of
https://github.com/clap-rs/clap
synced 2024-12-05 02:29:12 +00:00
c3fe7ff0a9
Subcommands don't switch their behavior on `--help`, so let's not switch to next-line-help based on `--help`. Fixes #4897
21 lines
369 B
TOML
21 lines
369 B
TOML
bin.name = "stdio-fixture"
|
|
args = ["--help"]
|
|
status.code = 0
|
|
stdout = """
|
|
Usage: stdio-fixture[EXE] [OPTIONS] [COMMAND]
|
|
|
|
Commands:
|
|
more
|
|
help Print this message or the help of the given subcommand(s)
|
|
|
|
Options:
|
|
--verbose
|
|
more log
|
|
|
|
-h, --help
|
|
Print help (see a summary with '-h')
|
|
|
|
-V, --version
|
|
Print version
|
|
"""
|
|
stderr = ""
|