From 79600a833dd9fdf49ebde44228057449160e77ff Mon Sep 17 00:00:00 2001 From: Alp <49457057+alpkeskin@users.noreply.github.com> Date: Mon, 14 Nov 2022 14:10:42 +0300 Subject: [PATCH] Update root.go --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index bd6b7df..0a90f0a 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -89,7 +89,7 @@ func init() { {{ .AnsiColor.BrightWhite }}v2.2{{ .AnsiColor.Default }} {{ .AnsiColor.BrightCyan }}https://github.com/alpkeskin/{{ .AnsiColor.Default }} Now: {{ .Now "Monday, 2 Jan 2006" }}` - if os.Args[1] != "set" { + if os.Args[0] != "set" { banner.InitString(colorable.NewColorableStdout(), true, true, templ) } println()