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

Show a bad invocation help message in a similar style to GNU coreutils.

Takes a format!-compatible input and prepends it with the current utility’s name before printing to stderr.

Examples

// outputs <name>: Couldn't apply foo to bar
//         Try '<name> --help' for more information.
show_usage_error!("Couldn't apply {} to {}", "foo", "bar");