Skip to content

CLI --help lacks trailing newline #28606

@kke

Description

@kke

Description

The CLI help does not emit trailing newline which makes the next prompt appear in the wrong place.

Using bash 5.2.21(1).

user@host /home/user/foo $ opencode --help
Commands:
  opencode completion          generate shell completion script
  opencode acp                 start ACP (Agent Client Protocol) server
....
....
      --agent        agent to use     [string]user@host /home/user/foo $ 

It's mostly cosmetic.

Plugins

No response

OpenCode version

1.15.6

Steps to reproduce

  1. Use CLI --help

Screenshot and/or share link

No response

Operating System

Ubuntu 24.04

Terminal

iTerm2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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