clap/tests/ui/arg_required_else_help_stderr.toml
Ed Page 389ff4ff21 fix(help): Subcommand display order respects Command::next_display_order
Previous behavior:
- They'd be sorted by default
- They'd derive display order if `DeriveDisplayOrder` was set
  - This could be set recursively
- The initial display order value for subcommands was 0

New behavior:
- Sorted order is derived by default
- Sorting is turned on by `cmd.next_display_order(None)`
  - This is not recursive, it must be set on each level
- The display order incrementing is mixed with arguments
  - This does make it slightly more difficult to predict
2022-07-22 15:03:16 -05:00

19 lines
377 B
TOML

bin.name = "stdio-fixture"
args = []
status.code = 2
stdout = ""
stderr = """
stdio-fixture 1.0
USAGE:
stdio-fixture[EXE] [OPTIONS] [SUBCOMMAND]
OPTIONS:
-h, --help Print help information
-V, --version Print version information
--verbose log
SUBCOMMANDS:
more
help Print this message or the help of the given subcommand(s)
"""