From 29cf52ddd5fb940edbbe0e4f3c2ef6802087f01d Mon Sep 17 00:00:00 2001 From: Maurice van Veen Date: Mon, 11 Aug 2025 10:20:32 +0200 Subject: [PATCH] Show missing streams in list/report Signed-off-by: Maurice van Veen --- cli/stream_command.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/stream_command.go b/cli/stream_command.go index c23c85c0..166cfcd7 100644 --- a/cli/stream_command.go +++ b/cli/stream_command.go @@ -1565,7 +1565,7 @@ func (c *streamCmd) reportAction(_ *fisk.ParseContext) error { return err } - if len(stats) == 0 { + if len(stats) == 0 && len(missing) == 0 { if !c.json { fmt.Println("No Streams defined") } @@ -3311,10 +3311,10 @@ func (c *streamCmd) lsAction(_ *fisk.ParseContext) error { return nil } - if len(streams) == 0 && skipped { + if len(streams) == 0 && len(missing) == 0 && skipped { fmt.Println("No Streams defined, pass -a to include system streams") return nil - } else if len(streams) == 0 { + } else if len(streams) == 0 && len(missing) == 0 { fmt.Println("No Streams defined") return nil }