mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
Fix SubcommandPrecedenceOverArg example indention
Signed-off-by: David McNeil <mcneil.david2@gmail.com>
This commit is contained in:
parent
709f20d713
commit
746d9a4707
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue