Minify function
This commit is contained in:
parent
186a4e8b73
commit
8fc4a4653b
1 changed files with 2 additions and 7 deletions
|
@ -56,12 +56,7 @@ pub fn configure(config : &mut Config) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn parse_global_cfg(matches : &ArgMatches<>, config : &mut ConfigBase) {
|
fn parse_global_cfg(matches : &ArgMatches<>, config : &mut ConfigBase) {
|
||||||
if matches.is_present("verbose") {
|
config.verbosity = matches.is_present("verbose");
|
||||||
config.verbosity = true;
|
config.debugging = matches.is_present("debugging");
|
||||||
}
|
|
||||||
|
|
||||||
if matches.is_present("debugging") {
|
|
||||||
config.debugging = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue