mirror of
https://github.com/clap-rs/clap
synced 2025-01-07 10:18:48 +00:00
parent
2deb372195
commit
6e1e754aa8
2 changed files with 3 additions and 2 deletions
|
@ -2111,7 +2111,8 @@ impl Arg {
|
||||||
///
|
///
|
||||||
/// Args with a lower value will be displayed first in the help message. This is helpful when
|
/// 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
|
/// 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.
|
/// **NOTE:** The default is 999 for all arguments.
|
||||||
///
|
///
|
||||||
|
|
|
@ -2599,7 +2599,7 @@ impl Command {
|
||||||
/// Set the placement of this subcommand within the help.
|
/// Set the placement of this subcommand within the help.
|
||||||
///
|
///
|
||||||
/// Subcommands with a lower value will be displayed first in the help message. Subcommands
|
/// 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
|
/// This is helpful when one would like to emphasize frequently used subcommands, or prioritize
|
||||||
/// those towards the top of the list.
|
/// those towards the top of the list.
|
||||||
|
|
Loading…
Reference in a new issue