cli: allow -R and --at-op anywhere in command line

This commit is contained in:
Martin von Zweigbergk 2021-02-25 23:34:00 -08:00
parent 2a531832d6
commit ab57584281

View file

@ -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)