diff --git a/clap-tests/Cargo.toml b/clap-tests/Cargo.toml index 292275d37c2..19d5ebb189f 100644 --- a/clap-tests/Cargo.toml +++ b/clap-tests/Cargo.toml @@ -5,5 +5,5 @@ version = "0.0.1" authors = ["Kevin K. "] [dependencies.clap] -git = "file:/home/kevin/Projects/clap-rs" -branch = "from-usage" +git = "https://github.com/kbknapp/clap-rs" +branch = "master" diff --git a/src/args/arg.rs b/src/args/arg.rs index 2000c7fe988..811ae720e28 100644 --- a/src/args/arg.rs +++ b/src/args/arg.rs @@ -182,8 +182,8 @@ impl<'n, 'l, 'h, 'b, 'p, 'r> Arg<'n, 'l, 'h, 'b, 'p, 'r> { /// // A required positional argument named "input" /// Arg::from_usage(" 'the input file to use'") /// ]) - /// # .short("c") - /// # ).get_matches(); + /// # + /// # .get_matches(); pub fn from_usage(u: &'n str) -> Arg<'n, 'n, 'n, 'b, 'p, 'r> { assert!(u.len() > 0, "Arg::from_usage() requires a non-zero-length usage string but none was provided");