about summary refs log tree commit diff stats
path: root/crates
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-24 14:48:24 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-24 14:48:24 +0200
commit28d4c61bb0b3b6b20d57a0dd970af83265bb0ad2 (patch)
treeddae2e3b5b90ec95b4123f289d59ad864e0ecce5 /crates
parentfeat(yt/cli): Also add completion for subscription names (diff)
downloadyt-28d4c61bb0b3b6b20d57a0dd970af83265bb0ad2.zip
fix(yt/update/grouped): Don't drop the verbosity level
Otherwise, the sub-processes run with the default verbosity level.
Diffstat (limited to 'crates')
-rw-r--r--crates/yt/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/yt/src/main.rs b/crates/yt/src/main.rs
index 744fe5f..f78c23e 100644
--- a/crates/yt/src/main.rs
+++ b/crates/yt/src/main.rs
@@ -205,6 +205,7 @@ async fn main() -> Result<()> {
                     let status = std::process::Command::new(
                         current_exe().context("Failed to get the current exe to re-execute")?,
                     )
+                    .args((0..args.verbosity).map(|_| "-v"))
                     .arg("update")
                     .args(["--current-progress", current_progress.to_string().as_str()])
                     .args(["--total-number", total_number.to_string().as_str()])