Skip to content

Commit ac77397

Browse files
committed
docs: Improve help_heading documentation
- clarify the usage of `help_heading` and `subcommand_help_heading`
1 parent ce263f8 commit ac77397

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clap_builder/src/builder/command.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3703,10 +3703,10 @@ impl Command {
37033703
self
37043704
}
37053705

3706-
/// Set a custom [`help_heading`] for the command
3706+
/// Set a custom help heading for the command
37073707
///
37083708
/// To place the `help` subcommand under a custom heading amend the default
3709-
/// heading using `subcommand_help_heading`.
3709+
/// heading using [`Command::subcommand_help_heading`].
37103710
///
37113711
/// # Examples
37123712
///

0 commit comments

Comments
 (0)