From a0992b6f28b2156e5afc671534164d8c7cf01665 Mon Sep 17 00:00:00 2001 From: Alexander NeonXP Kiryukhin Date: Sat, 6 Apr 2024 22:24:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=84=D0=BB=D0=B0=D0=B3=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 ++ 1 file changed, 2 insertions(+) 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)