From 3c55789f79f2a69e24d75934d9499343f63bc529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Gardstr=C3=B6m?= Date: Fri, 3 Feb 2023 18:59:26 +0100 Subject: [PATCH] if current dir is changed, make that fact clear in verbose mode --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 70dc60f..16f3117 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -374,6 +374,9 @@ pub fn run(tool: Tool, matches: ArgMatches) -> Result { lltool.args(&tool_args); if matches.is_present("verbose") { + if let Some(cwd) = lltool.get_current_dir() { + eprint!("{:?} ", cwd.display()); + } eprintln!("{:?}", lltool); }