mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 10:07:28 +00:00
git: make arguments of jj git push
named flags instead of positional
This way we can have a default for the remote, which I set to "origin".
This commit is contained in:
parent
634a04e234
commit
d741abf5a2
1 changed files with 3 additions and 3 deletions
|
@ -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),
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue