Lines Matching refs:debug
191 .conflicts_with("debug")
194 .arg(arg!(-d --debug "other flag").action(ArgAction::SetTrue))
204 assert!(*m.get_one::<bool>("debug").expect("defaulted by clap"));
212 .conflicts_with("debug")
215 .arg(arg!(-d --debug "other flag").action(ArgAction::SetTrue))
225 assert!(*m.get_one::<bool>("debug").expect("defaulted by clap"));
232 .arg(arg!(-f --flag "some flag").conflicts_with("debug"))
233 .arg(arg!(-d --debug "other flag"))
246 .conflicts_with("debug")
249 .arg(arg!(-d --debug "other flag").action(ArgAction::SetTrue))
259 assert!(*m.get_one::<bool>("debug").expect("defaulted by clap"));
291 .requires("debug")
294 .arg(arg!(-d --debug "other flag").action(ArgAction::SetTrue))
304 assert!(!*m.get_one::<bool>("debug").expect("defaulted by clap"));
310 .arg(arg!(-f --flag "some flag").requires("debug"))
311 .arg(arg!(-d --debug "other flag"))