From b9d90b7618b53f528801cfe5859003a8917707df Mon Sep 17 00:00:00 2001 From: Alexander Kucera Date: Sat, 6 Jun 2026 17:32:50 +0200 Subject: [PATCH] fix(sync_run): show limit-bypass notice regardless of verbose The --limit-superseded message was only printed when verbose=True, so users running --select --limit 5 without -v got no indication their flag was silently ignored. Make the notice unconditional. --- CHANGELOG.md | 5 +++++ librofm_downloader/sync_run.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02c8bda..d5f1c53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- **sync_run:** Show --limit-superseded notice unconditionally when + `--select` is active. Previously the message was gated behind + `--verbose`, so non-verbose users had no indication their flag + was silently ignored. + - **downloader:** Fix progress bar exceeding 100% on resumed downloads. `Content-Length` from a Range response covers only remaining bytes; now adds `resume_from` for the true total. diff --git a/librofm_downloader/sync_run.py b/librofm_downloader/sync_run.py index 0ac6f26..46105ab 100644 --- a/librofm_downloader/sync_run.py +++ b/librofm_downloader/sync_run.py @@ -228,7 +228,7 @@ def sync_run( if not selected: return SyncRunResult() - if limit and verbose: + if limit: console.print("[dim]Selection mode active -- --limit superseded by manual selection.[/dim]") # Replace new_books with selected Books; orchestrator will