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 Feb 3, 2023
1 parent cdb87d8 commit 3c55789
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 @@ -374,6 +374,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 3c55789

Please sign in to comment.