Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
help if empty
Browse files Browse the repository at this point in the history
  • Loading branch information
abs3ntdev committed Jan 4, 2023
1 parent 745e30c commit 5672538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func main() {
return
}

if flags.Help {
if !(len(os.Args) > 1) || flags.Help {
getopt.Usage()
return
}
Expand Down

0 comments on commit 5672538

Please sign in to comment.