From 604884f69b60352990e7da7935e5295265d25667 Mon Sep 17 00:00:00 2001 From: Foil-hat-guy Date: Mon, 21 Apr 2025 22:09:10 +0300 Subject: [PATCH] Moved logs to the right place. --- main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 411fb8c..1231ef4 100644 --- a/main.go +++ b/main.go @@ -38,10 +38,9 @@ func init() { os.Exit(1) } - fmt.Println(flagIsSet(arg, "h")) - fmt.Println(arg == "--help") - for _, arg := range os.Args { + fmt.Println(flagIsSet(arg, "h")) + fmt.Println(arg == "--help") if flagIsSet(arg, "h") || arg == "--help" { fmt.Println(string(help)) os.Exit(0)