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() }