Fix SubcommandPrecedenceOverArg example indention

Signed-off-by: David McNeil <mcneil.david2@gmail.com>
This commit is contained in:
David McNeil 2020-04-21 09:02:09 -05:00
parent 709f20d713
commit 746d9a4707

View file

@ -468,10 +468,10 @@ pub enum AppSettings {
/// ```rust /// ```rust
/// # use clap::{App, AppSettings, Arg}; /// # use clap::{App, AppSettings, Arg};
/// let app = App::new("app").subcommand(App::new("sub")).arg( /// let app = App::new("app").subcommand(App::new("sub")).arg(
/// Arg::with_name("arg") /// Arg::with_name("arg")
/// .long("arg") /// .long("arg")
/// .multiple(true) /// .multiple(true)
/// .takes_value(true), /// .takes_value(true),
/// ); /// );
/// ///
/// let matches = app /// let matches = app