mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-18 13:44:26 +00:00
cli: make revision argument positional for jj describe
I missed this command in the previous change.
This commit is contained in:
parent
8ad60f8c99
commit
8fe4433c9c
@ -643,7 +643,7 @@ fn get_app<'a, 'b>() -> App<'a, 'b> {
|
|||||||
.arg(Arg::with_name("no-graph").long("no-graph"));
|
.arg(Arg::with_name("no-graph").long("no-graph"));
|
||||||
let describe_command = SubCommand::with_name("describe")
|
let describe_command = SubCommand::with_name("describe")
|
||||||
.about("Edit the commit description")
|
.about("Edit the commit description")
|
||||||
.arg(rev_arg())
|
.arg(Arg::with_name("revision").index(1).default_value("@"))
|
||||||
.arg(message_arg())
|
.arg(message_arg())
|
||||||
.arg(Arg::with_name("stdin").long("stdin"));
|
.arg(Arg::with_name("stdin").long("stdin"));
|
||||||
let close_command = SubCommand::with_name("close")
|
let close_command = SubCommand::with_name("close")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user