Add -V
as a shorthand for --version
This commit is contained in:
parent
6e063a1430
commit
1eb38c461e
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ fn update_config(config: &mut Config, matches: &Matches) {
|
|||
fn execute() -> i32 {
|
||||
let mut opts = Options::new();
|
||||
opts.optflag("h", "help", "show this message");
|
||||
opts.optflag("", "version", "show version information");
|
||||
opts.optflag("V", "version", "show version information");
|
||||
opts.optflag("v", "verbose", "show progress");
|
||||
opts.optopt("",
|
||||
"write-mode",
|
||||
|
|
Loading…
Reference in a new issue