Add -V as a shorthand for --version

This commit is contained in:
Jan Likar 2015-11-16 14:52:14 +01:00
parent 6e063a1430
commit 1eb38c461e

View file

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