summaryrefslogtreecommitdiff
path: root/internal/queue
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-01-03 10:12:02 +0200
committerPaul Buetow <paul@buetow.org>2025-01-03 10:12:02 +0200
commita35f0ed04c28d80b902a00c3aec84dd86db34e85 (patch)
treeb9632f61192d40c3c9fe1e32c2744c91e0ba13de /internal/queue
parent5cacdd83fcd28e71f798cac628b5dd602fadef50 (diff)
add warning when there is no hashtag
Diffstat (limited to 'internal/queue')
-rw-r--r--internal/queue/queue.go8
1 files changed, 4 insertions, 4 deletions
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
}