mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 14:54:15 +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.
|
/// 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:
|
/// Valid tags are:
|
||||||
/// * `{bin}` - Binary name.
|
///
|
||||||
/// * `{version}` - Version number.
|
/// * `{bin}` - Binary name.
|
||||||
/// * `{author}` - Author information.
|
/// * `{version}` - Version number.
|
||||||
/// * `{usage}` - Automatically generated or given usage string.
|
/// * `{author}` - Author information.
|
||||||
/// * `{all-args}` - Help for all arguments (options, flags, positionals arguments,
|
/// * `{usage}` - Automatically generated or given usage string.
|
||||||
/// and subcommands) including titles.
|
/// * `{all-args}` - Help for all arguments (options, flags, positionals arguments,
|
||||||
/// * `{unified}` - Unified help for options and flags.
|
/// and subcommands) including titles.
|
||||||
/// * `{flags}` - Help for flags.
|
/// * `{unified}` - Unified help for options and flags.
|
||||||
/// * `{options}` - Help for options.
|
/// * `{flags}` - Help for flags.
|
||||||
/// * `{positionals}` - Help for positionals arguments.
|
/// * `{options}` - Help for options.
|
||||||
/// * `{subcommands}` - Help for subcommands.
|
/// * `{positionals}` - Help for positionals arguments.
|
||||||
/// * `{after-help}` - Help for flags.
|
/// * `{subcommands}` - Help for subcommands.
|
||||||
|
/// * `{after-help}` - Help for flags.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue