summaryrefslogtreecommitdiff
path: root/crawler/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/init.go')
-rw-r--r--crawler/init.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawler/init.go b/crawler/init.go
index a4fcb21..f23dd9b 100644
--- a/crawler/init.go
+++ b/crawler/init.go
@@ -17,6 +17,7 @@ func init() {
verbose := flag.BoolP("verbose", "v", false, "same as --debug")
silent := flag.BoolP("silent", "s", false, "suppress outputs except warnings")
loglevel_f := flag.StringP("loglevel", "l", "Warn", `sets log level, can be "Warn", "Info" or "Debug"`)
+ flag.Bool("shops", false, `list all crawlable shops`)
flag.Parse()
loglevel := strings.ToLower(*loglevel_f)