Skip to content

Commit

Permalink
Fix commit b16cfbf
Browse files Browse the repository at this point in the history
  • Loading branch information
flanglet committed May 12, 2024
1 parent 49aa696 commit 18478f2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions v2/app/Kanzi.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
}

Expand All @@ -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 = ""
Expand Down

0 comments on commit 18478f2

Please sign in to comment.