From 04567f594da4d48d0b788324012549b217628ecb Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 26 Oct 2015 21:26:15 +0100 Subject: [PATCH] Fix: Runtime.is_{verbose,debugging} --- src/cli.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index 114f2b51..bf0528a3 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -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") } }