Don't move the logging arguments to rtrd.
@@ -128,6 +128,23 @@ impl Config {
.help("number of threads for validation")
.takes_value(true)
)
+ .arg(Arg::with_name("verbose")
+ .short("v")
+ .long("verbose")
+ .multiple(true)
+ .help("log more information, twice for even more")
+ )
+ .arg(Arg::with_name("quiet")
+ .short("q")
+ .long("quiet")
+ .multiple(true)
+ .conflicts_with("verbose")
+ .help("log less informatio, twice for no information")
+ )
+ .arg(Arg::with_name("syslog")
+ .long("syslog")
+ .help("log to syslog")
+ )
.arg(Arg::with_name("syslog-facility")
.long("syslog-facility")
.takes_value(true)
@@ -183,23 +200,6 @@ impl Config {
.multiple(true)
.number_of_values(1)
)
- .arg(Arg::with_name("verbose")
- .short("v")
- .long("verbose")
- .multiple(true)
- .help("log more information, twice for even more")
- )
- .arg(Arg::with_name("quiet")
- .short("q")
- .long("quiet")
- .multiple(true)
- .conflicts_with("verbose")
- .help("log less informatio, twice for no information")
- )
- .arg(Arg::with_name("syslog")
- .long("syslog")
- .help("log to syslog")
- )
}
pub fn from_arg_matches(matches: &ArgMatches) -> Self {
