Skip to content

Commit a2dacc5

Browse files
committed
Merge branch 'dev' of https://github.com/tw93/Pake into dev
2 parents 00d49bb + 4856534 commit a2dacc5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/cli.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,13 @@ program
173173
.configureHelp({
174174
sortSubcommands: true,
175175
optionTerm: (option) => {
176-
if (option.flags === '-v, --version' || option.flags === '-h, --help') return '';
176+
if (option.flags === '-v, --version' || option.flags === '-h, --help')
177+
return '';
177178
return option.flags;
178179
},
179180
optionDescription: (option) => {
180-
if (option.flags === '-v, --version' || option.flags === '-h, --help') return '';
181+
if (option.flags === '-v, --version' || option.flags === '-h, --help')
182+
return '';
181183
return option.description;
182184
},
183185
})

0 commit comments

Comments
 (0)