From 6f007692dc9ecd7c656d4d1fe4822d329ff34347 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Tue, 2 Apr 2019 15:10:27 -0400 Subject: [PATCH] added citadel.debug as a recognized kernel command line var --- libcitadel/src/cmdline.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libcitadel/src/cmdline.rs b/libcitadel/src/cmdline.rs index 9cd8554..bfd96b2 100644 --- a/libcitadel/src/cmdline.rs +++ b/libcitadel/src/cmdline.rs @@ -99,6 +99,10 @@ impl CommandLine { CommandLine::var_exists("citadel.verbose") } + pub fn debug() -> bool { + CommandLine::var_exists("citadel.debug") + } + fn new() -> CommandLine { CommandLine{ varmap: HashMap::new() }