Skip to content

Commit def3559

Browse files
committed
if current dir is changed, make that fact clear in verbose mode
1 parent 2712633 commit def3559

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
@@ -373,6 +373,9 @@ pub fn run(tool: Tool, matches: ArgMatches) -> Result<i32> {
373373
lltool.args(&tool_args);
374374

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

0 commit comments

Comments
 (0)