diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-12 13:48:42 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-12 13:48:42 +0200 |
commit | 432366ea6d4c21a5e72f2912d184178a4e5b7345 (patch) | |
tree | ae642ca457e90d5e1d22c9eb6ca97c4be15d2a76 | |
parent | d42034a9b0ae0b127eb9d9d54321b3466cb182d2 (diff) |
Print to stderr with -d
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 7ef3bc3..14ddcb9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -176,7 +176,7 @@ fn work() -> Result<(), io::Error> { if flags.dryrun { for (s, _, d) in ps { - println!("renamed ‘{}’ -> ‘{}’", disp(&s), disp(&d)); + eprintln!("renamed ‘{}’ -> ‘{}’", disp(&s), disp(&d)); } } else { for (s, t, _) in ps.iter() { |