diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-24 14:48:24 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-24 14:48:24 +0200 |
commit | 28d4c61bb0b3b6b20d57a0dd970af83265bb0ad2 (patch) | |
tree | ddae2e3b5b90ec95b4123f289d59ad864e0ecce5 | |
parent | feat(yt/cli): Also add completion for subscription names (diff) | |
download | yt-28d4c61bb0b3b6b20d57a0dd970af83265bb0ad2.zip |
fix(yt/update/grouped): Don't drop the verbosity level
Otherwise, the sub-processes run with the default verbosity level.
-rw-r--r-- | crates/yt/src/main.rs | 1 |
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()]) |