fix(cli): show banner when dl -q is used

Scope the banner suppression to serve's --quiet/-q flag; the global argv check also matched dl's -q quality option and skipped the update check.
This commit is contained in:
imSp4rky
2026-08-31 12:32:20 -06:00
parent 9cba84da4c
commit 9dec33660b
+4 -2
View File
@@ -53,8 +53,10 @@ def main(version: bool, debug: bool) -> None:
traceback.install(console=console, width=80, suppress=[click])
if "--quiet" in sys.argv[1:] or "-q" in sys.argv[1:]:
return
if "serve" in sys.argv[1:]:
serve_args = sys.argv[sys.argv.index("serve") + 1 :]
if "--quiet" in serve_args or "-q" in serve_args:
return
console.print(
Padding(