Fix: Runtime.is_{verbose,debugging}
This commit is contained in:
parent
b207e1ad3d
commit
04567f594d
1 changed files with 2 additions and 2 deletions
|
@ -27,11 +27,11 @@ impl<'a> Config<'a> {
|
|||
}
|
||||
|
||||
pub fn is_verbose(&self) -> bool {
|
||||
self.cli_matches.is_present("verbose")
|
||||
self.cli_matches.is_present("verbose") || self.is_debugging()
|
||||
}
|
||||
|
||||
pub fn is_debugging(&self) -> bool {
|
||||
self.cli_matches.is_present("debugging")
|
||||
self.cli_matches.is_present("debug")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue