Skip to content

The open source coding agent.

TypeScript

fix(cli): prevent help text wrapping (#5185)

Patrick Erichsen4fabce58d8dd
diff --git a/packages/opencode/src/index.ts b/packages/opencode/src/index.ts
index 6545f81857d..638ee7347db 100644
--- a/packages/opencode/src/index.ts
+++ b/packages/opencode/src/index.ts
@@ -43,6 +43,7 @@ process.on("uncaughtException", (e) => {
const cli = yargs(hideBin(process.argv))
.parserConfiguration({ "populate--": true })
.scriptName("opencode")
+ .wrap(100)
.help("help", "show help")
.alias("help", "h")
.version("version", "show version number", Installation.VERSION)