* Supply your own option to use for the built-in help option. * This is an alternative to using helpOption() to customise the flags and description etc. * * @param {Option} option * @return {Command} `this` command for chaining
(option)
| 2619 | * @return {Command} `this` command for chaining |
| 2620 | */ |
| 2621 | addHelpOption(option) { |
| 2622 | this._helpOption = option; |
| 2623 | this._initOptionGroup(option); |
| 2624 | return this; |
| 2625 | } |
| 2626 | |
| 2627 | /** |
| 2628 | * Output help information and exit. |
no test coverage detected