From 8fe4433c9c3a9cdba980bf094cfb51dfd33e141c Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sun, 15 Aug 2021 18:17:24 -0700 Subject: [PATCH] cli: make revision argument positional for `jj describe` I missed this command in the previous change. --- src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.rs b/src/commands.rs index 08347c35f..a19ef1833 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -643,7 +643,7 @@ fn get_app<'a, 'b>() -> App<'a, 'b> { .arg(Arg::with_name("no-graph").long("no-graph")); let describe_command = SubCommand::with_name("describe") .about("Edit the commit description") - .arg(rev_arg()) + .arg(Arg::with_name("revision").index(1).default_value("@")) .arg(message_arg()) .arg(Arg::with_name("stdin").long("stdin")); let close_command = SubCommand::with_name("close")