Skip to content

Commit d408a82

Browse files
authored
Merge pull request #5491 from pgerber/doc
Fix documentation for Command::after_long_help()
2 parents 5be548d + 659e936 commit d408a82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clap_builder/src/builder/command.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,7 +1740,7 @@ impl Command {
17401740

17411741
/// Sets the program's description for the long help (`--help`).
17421742
///
1743-
/// If [`Command::about`] is not specified, this message will be displayed for `-h`.
1743+
/// Use [`Command::about`] to display the same message for `-h` too.
17441744
///
17451745
/// **NOTE:** Only [`Command::about`] (short format) is used in completion
17461746
/// script generation in order to be concise.
@@ -1792,7 +1792,7 @@ impl Command {
17921792
/// This is often used to describe how to use the arguments, caveats to be noted, or license
17931793
/// and contact information.
17941794
///
1795-
/// If [`Command::after_help`] is not specified, this message will be displayed for `-h`.
1795+
/// Use [`Command::after_help`] to display the same message for `-h` too.
17961796
///
17971797
/// # Examples
17981798
///
@@ -1835,7 +1835,7 @@ impl Command {
18351835
///
18361836
/// This is often used for header, copyright, or license information.
18371837
///
1838-
/// If [`Command::before_help`] is not specified, this message will be displayed for `-h`.
1838+
/// Use [`Command::before_help`] to display the same message for `-h` too.
18391839
///
18401840
/// # Examples
18411841
///

0 commit comments

Comments
 (0)