Skip to content
Myr

Add missing param in TypeScript for helpInformation (#1397)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by John Gee · committed by GitHub · parent eac4787 · Browse files · 2 files+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−1 removed

  • other:+2 added−1 removed

2 files+2 added−1 removed

modified:typings/commander-tests.ts+1 added
211 unmodified lines
212program.help({ error: true });213214// helpInformation215const helpInformnationValue: string = program.helpInformation();216const helpInformnationValue2: string = program.helpInformation({ error: true });217218// helpOption219const helpOptionThis1: commander.Command = program.helpOption('-h,--help');220const helpOptionThis2: commander.Command = program.helpOption('-h,--help', 'custom description');
121 unmodified lines
modified:typings/index.d.ts+1 added-1 removed
521 unmodified lines
522523 /**524 * Return command help documentation.525 */526 helpInformation(): string;526 helpInformation(context?: HelpContext): string;527528 /**529 * You can pass in flags and a description to override the help530 * flags and help description for your command. Pass in false
58 unmodified lines