diff --git a/src/commands.rs b/src/commands.rs index 1d96792dc..ffafaaf7a 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -437,13 +437,13 @@ fn get_app<'a, 'b>() -> App<'a, 'b> { .arg( Arg::with_name("remote") .long("remote") - .index(1) - .required(true), + .takes_value(true) + .default_value("origin"), ) .arg( Arg::with_name("branch") .long("branch") - .index(2) + .takes_value(true) .required(true), ), )