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.
@@ -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());
