fix double help printing (#1580)

pull/1589/head
Aiden Cline 2025-08-04 05:03:27 -05:00 committed by GitHub
parent e8c03f13dd
commit ae78ec7a0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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()