Allow --update to be run on its own

This commit is contained in:
Danilo Bargen 2016-01-06 23:24:56 +01:00
commit 68b3ff23bc

View file

@ -161,8 +161,11 @@ fn main() {
process::exit(1);
}
println!("{}", USAGE);
process::exit(1);
// Some flags can be run without a command.
if !args.flag_update {
println!("{}", USAGE);
process::exit(1);
}
}