From 432366ea6d4c21a5e72f2912d184178a4e5b7345 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 12 Aug 2023 13:48:42 +0200 Subject: Print to stderr with -d --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') 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() { -- cgit v1.2.3