Skip to content

Conversation

@opencode-agent
Copy link
Contributor

@opencode-agent opencode-agent bot commented Jan 3, 2026

The fix has been applied. I removed the -p short flag from the --prompt option in the CLI documentation. The issue was that the documentation incorrectly showed -p as an alias for --prompt, but the actual CLI code in packages/opencode/src/cli/cmd/tui/thread.ts:39-42 shows that --prompt has no short alias defined.

Closes #6720

New%20session%20-%202026-01-03T03%3A04%3A51.691Z
opencode session  |  github run

Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
@rekram1-node rekram1-node changed the title Remove incorrect -p alias from docs docs: rm incorrect -p alias from docs Jan 3, 2026
@rekram1-node rekram1-node merged commit f2ec036 into dev Jan 3, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CLI] can't use -p option

2 participants