docs(app): fix documentation formatting for App::template() (#632)

This commit is contained in:
Jędrzej 2016-08-26 17:16:32 +02:00 committed by Kevin K
parent c95b0c62ab
commit 853a90de01

View file

@ -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
/// ///