Update help, clap does the rest here

This commit is contained in:
Matthias Beyer 2018-05-04 11:19:47 +02:00
parent 9c36fc8ac0
commit 23c3a4b863

View file

@ -175,7 +175,7 @@ impl<'a> Runtime<'a> {
.arg(Arg::with_name(Runtime::arg_verbosity_name()) .arg(Arg::with_name(Runtime::arg_verbosity_name())
.short("v") .short("v")
.long("verbose") .long("verbose")
.help("Enables verbosity, can be used to set log level to one of 'trace', 'debug', 'info', 'warn' or 'error'") .help("Set log level")
.required(false) .required(false)
.takes_value(true) .takes_value(true)
.possible_values(&["trace", "debug", "info", "warn", "error"]) .possible_values(&["trace", "debug", "info", "warn", "error"])