We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7f0ff94 + d9d5bcc commit b351a7dCopy full SHA for b351a7d
src/main.rs
@@ -226,6 +226,10 @@ impl Opts {
226
fn emit_cargo_output(&self) -> bool {
227
self.verbosity >= 2
228
}
229
+
230
+ fn emit_cmd(&self) -> bool {
231
+ self.verbosity >= 1
232
+ }
233
234
235
#[derive(Debug, thiserror::Error)]
src/toolchains.rs
@@ -307,6 +307,10 @@ impl Toolchain {
307
cmd.stdout(default_stdio());
308
cmd.stderr(default_stdio());
309
310
+ if cfg.args.emit_cmd() {
311
+ eprintln!("Running `{cmd:?}`");
312
313
314
let output = match cmd.output() {
315
Ok(output) => output,
316
Err(err) => {
0 commit comments