We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac72b0d commit 3a59aa5Copy full SHA for 3a59aa5
cmd/ability.go
@@ -33,6 +33,11 @@ func AbilityCommand() {
33
34
flag.Parse()
35
36
+ if len(os.Args) == 3 && (os.Args[2] == "-h" || os.Args[2] == "--help") {
37
+ flag.Usage()
38
+ return
39
+ }
40
+
41
if err := ValidateAbilityArgs(args); err != nil {
42
fmt.Println(err.Error())
43
if os.Getenv("GO_TESTING") != "1" {
cmd/pokemon.go
@@ -57,6 +57,11 @@ func PokemonCommand() {
57
58
59
60
61
62
63
64
65
err := ValidatePokemonArgs(args)
66
if err != nil {
67
0 commit comments