diff options
-rw-r--r-- | src/main/TweetShell.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/TweetShell.java b/src/main/TweetShell.java index 0c6b975..5e5d074 100644 --- a/src/main/TweetShell.java +++ b/src/main/TweetShell.java @@ -210,7 +210,11 @@ public class TweetShell implements TwitterApi.PinSupplier { case keywords: Set<String> active = getStream().getKeywords(true); Set<String> queued = getStream().getKeywords(false); - System.out.println("Keywords:"); + if (active.isEmpty() && queued.isEmpty()) { + System.out.println("No keywords found. Add some with 'add'"); + } else { + System.out.println("Keywords:"); + } for (String keyword : active) { System.out.print(" \"" + keyword + "\""); if (!queued.contains(keyword)) { |