Skip to content

Commit

Permalink
Merge pull request #1 from jmhodges/gemnasium_fail_on_missing_command
Browse files Browse the repository at this point in the history
use a non-zero exit code when no command is given
  • Loading branch information
Philippe Lafoucrière committed May 1, 2016
2 parents 834be48 + d7a6036 commit 774026e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ func main() {
fmt.Println(version)

default:
fallthrough
helpCmd()
os.Exit(1)
case "help":
helpCmd()
}
Expand Down

0 comments on commit 774026e

Please sign in to comment.