cli: make revision argument positional for jj describe

I missed this command in the previous change.
This commit is contained in:
Martin von Zweigbergk 2021-08-15 18:17:24 -07:00
parent 8ad60f8c99
commit 8fe4433c9c

View File

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