summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 0878c9a..701e093 100644
--- a/main.go
+++ b/main.go
@@ -24,6 +24,8 @@ func main() {
ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt, os.Kill)
defer cancel()
+ flag.Parse()
+
cfg := &Config{}
fp, err := os.Open(*config)