| 64 | |
| 65 | impl Args { |
| 66 | pub fn print_help(&self) { |
| 67 | let mut printer = clap_help::Printer::new(Args::command()) |
| 68 | .with("introduction", INTRO) |
| 69 | .with("options", clap_help::TEMPLATE_OPTIONS_MERGED_VALUE) |
| 70 | .without("author"); |
| 71 | let skin = printer.skin_mut(); |
| 72 | skin.headers[0].compound_style.set_fg(ansi(79)); |
| 73 | skin.bold.set_fg(ansi(79)); |
| 74 | skin.italic = termimad::CompoundStyle::with_fg(ansi(79)); |
| 75 | printer.print_help(); |
| 76 | } |
| 77 | pub fn lang(&self) -> Language { |
| 78 | match self.lang { |
| 79 | LangChoice::C => Language::C, |