From 4beee45371d2b3a6d9cba2a7d47ce6a45ae823f1 Mon Sep 17 00:00:00 2001 From: artylobos Date: Tue, 24 Feb 2026 17:40:31 +1100 Subject: [PATCH] fix: Fix: -l -list option does not understand multiple prefixes comma-separated --- internal/runner/runner.go | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/internal/runner/runner.go b/internal/runner/runner.go index 91e80136..8c6c5081 100644 --- a/internal/runner/runner.go +++ b/internal/runner/runner.go @@ -440,7 +440,12 @@ func (r *Runner) normalizeAndQueueInputs(inputs chan taskInput) error { for scanner.Scan() { text := scanner.Text() if text != "" { - r.processInputItem(text, inputs) + for _, item := range strings.Split(text, ",") { + item = strings.TrimSpace(item) + if item != "" { + r.processInputItem(item, inputs) + } + } } } } @@ -449,7 +454,12 @@ func (r *Runner) normalizeAndQueueInputs(inputs chan taskInput) error { for scanner.Scan() { text := scanner.Text() if text != "" { - r.processInputItem(text, inputs) + for _, item := range strings.Split(text, ",") { + item = strings.TrimSpace(item) + if item != "" { + r.processInputItem(item, inputs) + } + } } } }