From 18478f2bac8227b6e4dd5622ba17e73b3a890163 Mon Sep 17 00:00:00 2001 From: Frederic Langlet Date: Sat, 11 May 2024 20:04:57 -0700 Subject: [PATCH] Fix commit b16cfbf2 --- v2/app/Kanzi.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/v2/app/Kanzi.go b/v2/app/Kanzi.go index b7793010..21eb7ef3 100644 --- a/v2/app/Kanzi.go +++ b/v2/app/Kanzi.go @@ -213,8 +213,7 @@ func processCommandLine(args []string, argsMap map[string]any) int { level := -1 mode := " " autoBlockSize := false - showHeader := true - showHelp := true + showHelp := false for i, arg := range args { if i == 0 { @@ -304,7 +303,7 @@ func processCommandLine(args []string, argsMap map[string]any) int { } if showHelp == true || len(args) == 1 { - printHelp(mode, showHeader) + printHelp(mode, true) return 0 } @@ -315,7 +314,6 @@ func processCommandLine(args []string, argsMap map[string]any) int { if verbose >= 1 { log.Println("\n"+_APP_HEADER+"\n", true) - showHeader = false } inputName = ""