Home
last modified time | relevance | path

Searched refs:before_help (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/clap/src/builder/
Dcommand.rs82 before_help: Option<StyledStr>, field
1583 pub fn before_help(mut self, help: impl IntoResettable<StyledStr>) -> Self { in before_help() method
1584 self.before_help = help.into_resettable().into_option(); in before_help()
3403 self.before_help.as_ref() in get_before_help()
4636 before_help: Default::default(), in default()
/third_party/rust/crates/clap/src/output/
Dhelp_template.rs297 let before_help = if self.use_long { in write_before_help() localVariable
304 if let Some(output) = before_help { in write_before_help()
/third_party/rust/crates/clap/tests/builder/
Dhelp.rs253 .before_help("some text that comes before the help") in after_and_before_help_output()
293 .before_help("some text that comes before the help") in after_and_before_long_help_output()
/third_party/rust/crates/clap/
DCHANGELOG.md2643 * fixes issue where before_help wasn't printed ([b3faff60](https://github.com/clap-rs/clap/commit…
2644 * **Help:** `App::before_help` and `App::after_help` now correctly wrap ([1f4da767](https://github…
2665 * fixes issue where before_help wasn't printed ([b3faff60](https://github.com/clap-rs/clap/commit…