Skip to content

Commit 3c55789

Browse files
committed
if current dir is changed, make that fact clear in verbose mode
1 parent cdb87d8 commit 3c55789

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,9 @@ pub fn run(tool: Tool, matches: ArgMatches) -> Result<i32> {
374374
lltool.args(&tool_args);
375375

376376
if matches.is_present("verbose") {
377+
if let Some(cwd) = lltool.get_current_dir() {
378+
eprint!("{:?} ", cwd.display());
379+
}
377380
eprintln!("{:?}", lltool);
378381
}
379382

0 commit comments

Comments
 (0)