Lines Matching defs:Command
279 fn for_app(kind: ErrorKind, cmd: &Command, styled: StyledStr) -> Self { in for_app()
331 pub(crate) fn display_help(cmd: &Command, styled: StyledStr) -> Self { in display_help()
335 pub(crate) fn display_help_error(cmd: &Command, styled: StyledStr) -> Self { in display_help_error()
343 pub(crate) fn display_version(cmd: &Command, styled: StyledStr) -> Self { in display_version()
348 cmd: &Command, in argument_conflict()
375 pub(crate) fn empty_value(cmd: &Command, good_vals: &[String], arg: String) -> Self { in empty_value()
379 pub(crate) fn no_equals(cmd: &Command, arg: String, usage: Option<StyledStr>) -> Self { in no_equals()
396 cmd: &Command, in invalid_value()
426 cmd: &Command, in invalid_subcommand()
466 cmd: &Command, in unrecognized_subcommand()
488 cmd: &Command, in missing_required_argument()
510 cmd: &Command, in missing_subcommand()
535 pub(crate) fn invalid_utf8(cmd: &Command, usage: Option<StyledStr>) -> Self { in invalid_utf8()
550 cmd: &Command, in too_many_values()
573 cmd: &Command, in too_few_values()
622 cmd: &Command, in wrong_number_of_values()
653 cmd: &Command, in unknown_argument()
712 cmd: &Command, in unnecessary_double_dash()
798 fn format(&mut self, cmd: &Command, usage: Option<StyledStr>) { in format()