mirror of
https://github.com/sharkdp/bat
synced 2024-12-18 08:13:06 +00:00
8 lines
194 B
Rust
8 lines
194 B
Rust
|
#[macro_export]
|
||
|
macro_rules! bat_warning {
|
||
|
($($arg:tt)*) => ({
|
||
|
use ansi_term::Colour::Yellow;
|
||
|
eprintln!("{}: {}", Yellow.paint("[bat warning]"), format!($($arg)*));
|
||
|
})
|
||
|
}
|