aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index fdf4e4b..26dd1fc 100644
--- a/main.go
+++ b/main.go
@@ -21,7 +21,7 @@ func main() {
flag.StringVar(&newFeed, "add", "", "add feed `http://example.com/rss.xml`")
flag.Parse()
- if !update && !serve {
+ if !update && !serve && newFeed == ""{
flag.Usage()
return
}