Fix: Runtime.is_{verbose,debugging}

This commit is contained in:
Matthias Beyer 2015-10-26 21:26:15 +01:00
parent b207e1ad3d
commit 04567f594d

View file

@ -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")
}
}