Revert "fix: ensure flags & docs match (#3638)"

This reverts commit a018a15f32.
This commit is contained in:
Aiden Cline
2025-10-31 16:43:29 -05:00
parent a018a15f32
commit 019054dd1e
4 changed files with 23 additions and 43 deletions

View File

@@ -38,7 +38,6 @@ process.on("uncaughtException", (e) => {
const cli = yargs(hideBin(process.argv))
.scriptName("opencode")
.help("help", "show help")
.alias("help", "h")
.version("version", "show version number", Installation.VERSION)
.alias("version", "v")
.option("print-logs", {
@@ -141,5 +140,5 @@ try {
// Most notably, some docker-container-based MCP servers don't handle such signals unless
// run using `docker run --init`.
// Explicitly exit to avoid any hanging subprocesses.
process.exit()
process.exit();
}