Skip to content

Commit

Permalink
fixes CLI
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Hausenblas <hausenbl@amazon.com>
  • Loading branch information
mhausenblas committed Mar 9, 2020
1 parent cee3917 commit f83d265
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 @@ -62,7 +62,7 @@ func main() {
fmt.Printf("%v, commit %v, built at %v\n", version, commit, date)
os.Exit(0)
}
if len(os.Args) == 0 {
if len(os.Args) == 1 {
fmt.Printf("Need a command to proceed!\n\n")
flag.Usage()
os.Exit(1)
Expand Down

0 comments on commit f83d265

Please sign in to comment.