From a35f0ed04c28d80b902a00c3aec84dd86db34e85 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 3 Jan 2025 10:12:02 +0200 Subject: add warning when there is no hashtag --- internal/queue/queue.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/queue') diff --git a/internal/queue/queue.go b/internal/queue/queue.go index 33b5bf7..43a017c 100644 --- a/internal/queue/queue.go +++ b/internal/queue/queue.go @@ -50,10 +50,10 @@ func queueEntries(args config.Args) error { return err } if !hasHashtags { - if err := en.FileAction("Do you want to queue this despite there are no Hashtags?"); err != nil { - return err - } - } else if en.HasTag("ask") { + colour.Warnf("The following entry has got no hashtags:") + fmt.Printf("\n") + } + if !hasHashtags || en.HasTag("ask") { if err := en.FileAction("Do you want to queue this"); err != nil { return err } -- cgit v1.2.3