mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 19:55:11 +00:00
fix double help printing (#1580)
This commit is contained in:
parent
e8c03f13dd
commit
ae78ec7a0c
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ const cli = yargs(hideBin(process.argv))
|
|||
if (msg.startsWith("Unknown argument") || msg.startsWith("Not enough non-option arguments")) {
|
||||
cli.showHelp("log")
|
||||
}
|
||||
process.exit(1)
|
||||
})
|
||||
.strict()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue