Version part should be enforced

This commit is contained in:
Matthias Beyer 2016-07-16 20:07:40 +02:00
parent b6f467042f
commit 616858bd28

View file

@ -14,7 +14,7 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
.long("version") .long("version")
.short("V") .short("V")
.takes_value(true) .takes_value(true)
.required(false) .required(true)
.help("View this version (youngest if not specified)") .help("View this version (youngest if not specified)")
.value_name("VERSION")) .value_name("VERSION"))