Update README.md

This commit is contained in:
Kevin K. 2015-03-18 12:54:31 -04:00
parent 7a6c606e9e
commit 3c30c41643

View file

@ -38,8 +38,8 @@ fn main() {
.subcommand(SubCommand::new("test") .subcommand(SubCommand::new("test")
.about("controls testing features") .about("controls testing features")
.arg(Arg::new("verbose") .arg(Arg::new("verbose")
.short("v") .short("v")
.help("print test information verbosely"))) .help("print test information verbosely")))
.get_matches(); .get_matches();
if let Some(o) = matches.value_of("output") { if let Some(o) = matches.value_of("output") {
@ -58,10 +58,10 @@ fn main() {
} }
if let Some(ref matches) = matches.subcommand_matches("test") { if let Some(ref matches) = matches.subcommand_matches("test") {
if matches.is_present("list") { if matches.is_present("verbose") {
println!("Printing testing lists..."); println!("Printing verbosely...");
} else { } else {
println!("Not printing testing lists..."); println!("Printing normally...");
} }
} }