mirror of
https://github.com/clap-rs/clap
synced 2024-12-12 13:52: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 |
||
---|---|---|
.. | ||
augment_args.rs | ||
augment_subcommands.rs | ||
custom-bool.md | ||
custom-bool.rs | ||
flatten_hand_args.rs | ||
hand_subcommand.rs | ||
interop_tests.md |