mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
42c943844c
In switching to title case for help headings (#4123), it caused me to look at "subcommand" in a fresh light. I can't quite put my finger on it but "Subcommand" looks a bit sloppy. I also have recently been surveying other CLIs and they just use "command" as well. All of them are commands anyways, just some are children of others (subcommands) while others are not (root or top-level commands, or just command). Context is good enough for clarifying subcommands from root commands. This is part of #4132
19 lines
375 B
TOML
19 lines
375 B
TOML
bin.name = "stdio-fixture"
|
|
args = ["-h"]
|
|
status.code = 0
|
|
stdout = """
|
|
stdio-fixture 1.0
|
|
|
|
Usage:
|
|
stdio-fixture[EXE] [OPTIONS] [COMMAND]
|
|
|
|
Commands:
|
|
more
|
|
help Print this message or the help of the given subcommand(s)
|
|
|
|
Options:
|
|
--verbose log
|
|
-h, --help Print help information
|
|
-V, --version Print version information
|
|
"""
|
|
stderr = ""
|