prune: default argument to "@", fixing regression
When I recently changed the revision argument from being passed to
`-r` to being a positional argument, I accidentally made it
required. Let's restore the default of "@".
@@ -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(Arg::with_name("revision").index(1).required(true));
+ .arg(Arg::with_name("revision").index(1).default_value("@"));
let new_command = SubCommand::with_name("new")
.about("create a new, empty commit")
.arg(rev_arg());
