diff --git a/src/commands.rs b/src/commands.rs index 669bdac36..8f66b30ef 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -543,6 +543,7 @@ fn get_app<'a, 'b>() -> App<'a, 'b> { Arg::with_name("repository") .long("repository") .short("R") + .global(true) .takes_value(true) .default_value("."), ) @@ -550,6 +551,7 @@ fn get_app<'a, 'b>() -> App<'a, 'b> { Arg::with_name("at_op") .long("at-operation") .alias("at-op") + .global(true) .takes_value(true), ) .subcommand(init_command)