Fix panic because of wrong function (#223)

This commit is contained in:
Kha Nguyen 2024-01-13 09:49:45 +07:00 committed by GitHub
parent 383d64cb7e
commit 7765d9d198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,6 @@ import (
"flag"
"fmt"
"log"
"strings"
"github.com/joho/godotenv"
@ -35,7 +34,7 @@ example
// print usage and return
args := flag.Args()
if showHelp || len(args) == 0 {
fmt.log(usage)
fmt.Println(usage)
return
}