panda_parse_bool_opt

Function panda_parse_bool_opt 

Source
pub unsafe extern "C" fn panda_parse_bool_opt(
    args: *mut panda_arg_list,
    argname: *const i8,
    help: *const i8,
) -> bool
Expand description

panda_parse_bool_opt() - Determine if this optional boolean argument is set for this plugin. @args: The previously parsed panda_arg_list. @argname: The name of the argument in args. @help: Help text.

Same behavior as panda_parse_bool.

Return: the boolean setting, true/false.