mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
docs(app): fix documentation formatting for App::template() (#632)
This commit is contained in:
parent
c95b0c62ab
commit
853a90de01
1 changed files with 15 additions and 13 deletions
|
@ -364,20 +364,22 @@ impl<'a, 'b> App<'a, 'b> {
|
|||
|
||||
/// Sets the help template to be used, overriding the default format.
|
||||
///
|
||||
/// Tags arg given inside curly brackets:
|
||||
/// Tags arg given inside curly brackets.
|
||||
///
|
||||
/// Valid tags are:
|
||||
/// * `{bin}` - Binary name.
|
||||
/// * `{version}` - Version number.
|
||||
/// * `{author}` - Author information.
|
||||
/// * `{usage}` - Automatically generated or given usage string.
|
||||
/// * `{all-args}` - Help for all arguments (options, flags, positionals arguments,
|
||||
/// and subcommands) including titles.
|
||||
/// * `{unified}` - Unified help for options and flags.
|
||||
/// * `{flags}` - Help for flags.
|
||||
/// * `{options}` - Help for options.
|
||||
/// * `{positionals}` - Help for positionals arguments.
|
||||
/// * `{subcommands}` - Help for subcommands.
|
||||
/// * `{after-help}` - Help for flags.
|
||||
///
|
||||
/// * `{bin}` - Binary name.
|
||||
/// * `{version}` - Version number.
|
||||
/// * `{author}` - Author information.
|
||||
/// * `{usage}` - Automatically generated or given usage string.
|
||||
/// * `{all-args}` - Help for all arguments (options, flags, positionals arguments,
|
||||
/// and subcommands) including titles.
|
||||
/// * `{unified}` - Unified help for options and flags.
|
||||
/// * `{flags}` - Help for flags.
|
||||
/// * `{options}` - Help for options.
|
||||
/// * `{positionals}` - Help for positionals arguments.
|
||||
/// * `{subcommands}` - Help for subcommands.
|
||||
/// * `{after-help}` - Help for flags.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue