Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Commit edf7877

Browse files
Merge pull request #184 from storyblok/hotfix/behavior-help
Fix wrong behavior help
2 parents b9ac410 + 93911ae commit edf7877

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/cli.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ program
231231
}
232232
})
233233

234-
if (!program._args.length) {
234+
program.parse(process.argv)
235+
236+
if (program.rawArgs.length <= 2) {
235237
program.help()
236238
}
237-
238-
program.parse(process.argv)

0 commit comments

Comments
 (0)