docs: Update docs for derived display order

Fixes #4728
This commit is contained in:
Ed Page 2023-02-24 07:34:09 -06:00
parent 2deb372195
commit 6e1e754aa8
2 changed files with 3 additions and 2 deletions

View file

@ -2111,7 +2111,8 @@ impl Arg {
///
/// Args with a lower value will be displayed first in the help message. This is helpful when
/// one would like to emphasise frequently used args, or prioritize those towards the top of
/// the list. Args with duplicate display orders will be displayed in alphabetical order.
/// the list. Args with duplicate display orders will be displayed in the order they are
/// defined.
///
/// **NOTE:** The default is 999 for all arguments.
///

View file

@ -2599,7 +2599,7 @@ impl Command {
/// Set the placement of this subcommand within the help.
///
/// Subcommands with a lower value will be displayed first in the help message. Subcommands
/// with duplicate display orders will be displayed in alphabetical order.
/// with duplicate display orders will be displayed in order they are defined.
///
/// This is helpful when one would like to emphasize frequently used subcommands, or prioritize
/// those towards the top of the list.