diff --git a/src/cli/doctor.rs b/src/cli/doctor.rs index e905c3066..fa4832e94 100644 --- a/src/cli/doctor.rs +++ b/src/cli/doctor.rs @@ -121,13 +121,18 @@ impl Doctor { let cmd = style::eyellow("mise reshim"); if !missing.is_empty() { - self.checks - .push(format!("shims are missing, run {cmd} to create them")); + self.checks.push(formatdoc!( + "shims are missing, run {cmd} to create them + Missing shims: {missing}", + missing = missing.join(", ") + )); } if !extra.is_empty() { - self.checks.push(format!( - "unused shims are present, run {cmd} to remove them" + self.checks.push(formatdoc!( + "unused shims are present, run {cmd} to remove them + Unused shims: {extra}", + extra = extra.join(", ") )); } }