Macro uucore::show_error

source ·
macro_rules! show_error {
    ($($args:tt)+) => { ... };
}
Expand description

Show an error to stderr in a similar style to GNU coreutils.

Takes a format!-like input and prints it to stderr. The output is prepended with the current utility’s name.

Examples

show_error!("Couldn't apply {} to {}", "foo", "bar");