Skip to content

CLI help messages lack EOL #24804

@edemaine

Description

@edemaine

Description

Help messages emitted from the opencode CLI don't typically end in a newline, and are sometimes very long, which in some shell contexts causes the prompt to overwrite the last line of help.

Plugins

No response

OpenCode version

1.14.28

Steps to reproduce

  1. opencode --help or opencode stats --help

Screenshot and/or share link

Tail of opencode --help:

Image

(missing --agent line)

opencode stats --help:

Image

(missing --project line)

Operating System

Windows 11

Terminal

zsh on Cygwin

Metadata

Metadata

Assignees

Labels

VouchedbugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions