1
0
forked from brl/citadel-tools

added citadel.debug as a recognized kernel command line var

This commit is contained in:
Bruce Leidl 2019-04-02 15:10:27 -04:00
parent b7d4f1e570
commit 6f007692dc

View File

@ -99,6 +99,10 @@ impl CommandLine {
CommandLine::var_exists("citadel.verbose") CommandLine::var_exists("citadel.verbose")
} }
pub fn debug() -> bool {
CommandLine::var_exists("citadel.debug")
}
fn new() -> CommandLine { fn new() -> CommandLine {
CommandLine{ varmap: HashMap::new() } CommandLine{ varmap: HashMap::new() }