mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 14:54:15 +00:00
fix(complete): Send debug statements to stderr
This commit is contained in:
parent
d4ddc5f6d6
commit
bbf6488ede
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ macro_rules! w {
|
|||
#[cfg(feature = "debug")]
|
||||
macro_rules! debug {
|
||||
($($arg:tt)*) => {
|
||||
print!("[{:>w$}] \t", module_path!(), w = 28);
|
||||
println!($($arg)*)
|
||||
eprint!("[{:>w$}] \t", module_path!(), w = 28);
|
||||
eprintln!($($arg)*)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue