Lines Matching defs:format
30 mod format;
33 pub use format::ErrorFormatter;
34 pub use format::KindFormatter;
42 pub use format::RichFormatter;
81 /// a place that has access to the `Command` at which point you can call [`Error::format`].
92 pub fn format(mut self, cmd: &mut Command) -> Self {
96 message.format(cmd, usage);
147 .set_help_flag(format::get_help_flag(cmd))
695 ContextValue::String(format!("--{flag}")),
798 fn format(&mut self, cmd: &Command, usage: Option<StyledStr>) {
804 let styled = format::format_error_message(&message, Some(cmd), usage);
815 let styled = format::format_error_message(s, None, None);