Lines Matching defs:help
13 /// to [hide] single values from help messages and shell completions or to attach [help] to
25 /// PossibleValue::new("slow").help("slower than fast"),
33 /// [help]: PossibleValue::help()
37 help: Option<StyledStr>,
47 /// **NOTE:** In case it is not [hidden] it will also be shown in help messages for arguments
67 /// Sets the help description of the value.
77 /// .help("not fast")
82 pub fn help(mut self, help: impl IntoResettable<StyledStr>) -> Self {
83 self.help = help.into_resettable().into_option();
87 /// Hides this value from help and shell completions.
153 /// Get the help specified for this argument, if any
156 self.help.as_ref()
159 /// Get the help specified for this argument, if any and the argument
162 #[cfg(feature = "help")]
177 /// Report if PossibleValue is not hidden and has a help message
179 !self.hide && self.help.is_some()
184 #[cfg(feature = "help")]