Fixed doc tests

This commit is contained in:
Kevin K 2015-03-15 21:05:19 -04:00
parent b7fdf9024a
commit 152aa8919a
3 changed files with 32 additions and 33 deletions

2
Cargo.lock generated
View file

@ -1,4 +1,4 @@
[root]
name = "clap"
version = "0.4.0"
version = "0.4.1"

View file

@ -57,7 +57,6 @@ use subcommand::SubCommand;
/// println!("Not printing testing lists...");
/// }
/// }
/// }
pub struct ArgMatches {
pub matches_of: &'static str,
pub flags: HashMap<&'static str, FlagArg>,

View file

@ -17,7 +17,7 @@
//! Example:
//!
//! ```no_run
//! use clap::{Arg, App};
//! use clap::{Arg, App, SubCommand};
//!
//! // ...
//!
@ -37,7 +37,7 @@
//! .short("d")
//! .multiple(true)
//! .help("Turn debugging information on"))
//! .subcomamnd(SubCommand::new("test")
//! .subcommand(SubCommand::new("test")
//! .about("Has test sub functionality")
//! .arg(Arg::new("verbose")
//! .short("v")