mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
389ff4ff21
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 |
||
---|---|---|
.. | ||
arg_required_else_help_stderr.toml | ||
error_stderr.toml | ||
h_flag_stdout.toml | ||
help_cmd_stdout.toml | ||
help_flag_stdout.toml | ||
V_flag_stdout.toml | ||
version_flag_stdout.toml |