mirror of
https://github.com/clap-rs/clap
synced 2025-01-18 23:53:54 +00:00
fixup! formatting lint
This commit is contained in:
parent
636ecaffa2
commit
b92f2c0339
2 changed files with 5 additions and 3 deletions
|
@ -2168,7 +2168,9 @@ impl<'help> App<'help> {
|
|||
return self._do_parse(&mut it);
|
||||
}
|
||||
_ => {
|
||||
debug!("App::try_get_matches_from_mut: existing applet or no program name");
|
||||
debug!(
|
||||
"App::try_get_matches_from_mut: existing applet or no program name"
|
||||
);
|
||||
debug!("App::try_get_matches_from_mut: Reinserting command into arguments so subcommand parser matches it");
|
||||
it.insert(&[&command]);
|
||||
debug!("App::try_get_matches_from_mut: Clearing name and bin_name so that displayed command name starts with applet name");
|
||||
|
|
|
@ -38,13 +38,13 @@ fn examples_are_functional() {
|
|||
continue;
|
||||
#[allow(unreachable_code)]
|
||||
"busybox".into()
|
||||
},
|
||||
}
|
||||
Some("24b_multicall_hostname.rs") => {
|
||||
#[cfg(not(feature = "unstable-multicall"))]
|
||||
continue;
|
||||
#[allow(unreachable_code)]
|
||||
"hostname".into()
|
||||
},
|
||||
}
|
||||
_ => path
|
||||
.file_stem()
|
||||
.and_then(OsStr::to_str)
|
||||
|
|
Loading…
Reference in a new issue