command icon indicating copy to clipboard operation
command copied to clipboard

The short hand help flag '-h' doesnt work if strict is set to `false`

Open jasonrpoteet opened this issue 4 years ago • 0 comments

When extending the BaseCommand and setting strict = false the CLI is not recognizing -h the same way it recognizes the --help flag.

Issues seems to be in the method at https://github.com/oclif/command/blob/master/src/command.ts#L203 where its only accounting for --help.

jasonrpoteet avatar Sep 29 '21 18:09 jasonrpoteet