`-h` and `--h` should not report as invalid flags

[#69038672]