mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
Merge pull request #5491 from pgerber/doc
Fix documentation for Command::after_long_help()
This commit is contained in:
commit
d408a823a6
1 changed files with 3 additions and 3 deletions
|
@ -1740,7 +1740,7 @@ impl Command {
|
|||
|
||||
/// Sets the program's description for the long help (`--help`).
|
||||
///
|
||||
/// If [`Command::about`] is not specified, this message will be displayed for `-h`.
|
||||
/// Use [`Command::about`] to display the same message for `-h` too.
|
||||
///
|
||||
/// **NOTE:** Only [`Command::about`] (short format) is used in completion
|
||||
/// script generation in order to be concise.
|
||||
|
@ -1792,7 +1792,7 @@ impl Command {
|
|||
/// This is often used to describe how to use the arguments, caveats to be noted, or license
|
||||
/// and contact information.
|
||||
///
|
||||
/// If [`Command::after_help`] is not specified, this message will be displayed for `-h`.
|
||||
/// Use [`Command::after_help`] to display the same message for `-h` too.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
@ -1835,7 +1835,7 @@ impl Command {
|
|||
///
|
||||
/// This is often used for header, copyright, or license information.
|
||||
///
|
||||
/// If [`Command::before_help`] is not specified, this message will be displayed for `-h`.
|
||||
/// Use [`Command::before_help`] to display the same message for `-h` too.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue