Skip to main content

cli_error

Macro cli_error 

Source
macro_rules! cli_error {
    ($($arg:tt)*) => { ... };
}
Expand description

Print a red-prefixed error: <formatted> line to stderr.

Takes standard format! arguments. Coloring follows the --ansi / --no-ansi / NO_COLOR / FORCE_COLOR chain via style::color_enabled, so pipes stay plain automatically.