mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-27 06:27:43 +00:00
cli: allow -R and --at-op anywhere in command line
This commit is contained in:
parent
2a531832d6
commit
ab57584281
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue