mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42: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
|
||||
/// # use clap::{App, AppSettings, Arg};
|
||||
/// let app = App::new("app").subcommand(App::new("sub")).arg(
|
||||
/// Arg::with_name("arg")
|
||||
/// .long("arg")
|
||||
/// .multiple(true)
|
||||
/// .takes_value(true),
|
||||
/// Arg::with_name("arg")
|
||||
/// .long("arg")
|
||||
/// .multiple(true)
|
||||
/// .takes_value(true),
|
||||
/// );
|
||||
///
|
||||
/// let matches = app
|
||||
|
|
Loading…
Reference in a new issue