mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-15 00:44:33 +00:00
prune: make revision argument a positional argument (no -r
)
I keep forgetting to pass the `-r`. The command takes only a revision as argument and it doesn't seem likely that we'll want to positional arguments for filenames in the future either.
This commit is contained in:
parent
8980f1acbe
commit
985e5b030f
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ fn get_app<'a, 'b>() -> App<'a, 'b> {
|
|||
.arg(rev_arg());
|
||||
let prune_command = SubCommand::with_name("prune")
|
||||
.about("create an empty successor of a commit")
|
||||
.arg(rev_arg());
|
||||
.arg(Arg::with_name("revision").index(1).required(true));
|
||||
let new_command = SubCommand::with_name("new")
|
||||
.about("create a new, empty commit")
|
||||
.arg(rev_arg());
|
||||
|
|
Loading…
Reference in a new issue