Skip to content

Commit

Permalink
if current dir is changed, make that fact clear in verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilgardis committed May 16, 2022
1 parent 2712633 commit def3559
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@ pub fn run(tool: Tool, matches: ArgMatches) -> Result<i32> {
lltool.args(&tool_args);

if matches.is_present("verbose") {
if let Some(cwd) = lltool.get_current_dir() {
eprint!("{:?} ", cwd.display());
}
eprintln!("{:?}", lltool);
}

Expand Down

0 comments on commit def3559

Please sign in to comment.