Skip to content

Commit

Permalink
custom flag.Usage
Browse files Browse the repository at this point in the history
  • Loading branch information
yzqzss committed Dec 13, 2024
1 parent 8a2e8d8 commit 3ec170c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ e.g. aixifan down 32749`)
}

func main() {
flag.Usage = help
flag.Parse()
if flag.NArg() < 2 {
help()
Expand Down

0 comments on commit 3ec170c

Please sign in to comment.