clap/tests/ui/help_flag_stdout.toml
Ed Page c3fe7ff0a9 fix(help): Don't use next-line-help on long-help for subcommands
Subcommands don't switch their behavior on `--help`, so let's not switch
to next-line-help based on `--help`.

Fixes #4897
2023-05-12 10:41:05 +02:00

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 = ""