From a0992b6f28b2156e5afc671534164d8c7cf01665 Mon Sep 17 00:00:00 2001 From: Alexander NeonXP Kiryukhin Date: Sat, 6 Apr 2024 22:24:09 +0300 Subject: поправил флаги 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) -- cgit v1.2.3