Skip to content

Commit 34799a7

Browse files
committed
fix: -h option error
1 parent 2249916 commit 34799a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Options
146146

147147
const { input, flags } = cli;
148148
if (flags.h) {
149-
cli.showHelp();
149+
cli.showHelp(0);
150150
} else if (flags.v) {
151151
cli.showVersion();
152152
} else {

0 commit comments

Comments
 (0)