[PR #6721] docs: rm incorrect -p alias from docs #12061

Closed
opened 2026-02-16 18:16:59 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6721

State: closed
Merged: Yes


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

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6721 **State:** closed **Merged:** Yes --- 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 <a href="https://opencode.ai/s/wXz4WxJi"><img width="200" alt="New%20session%20-%202026-01-03T03%3A04%3A51.691Z" src="https://social-cards.sst.dev/opencode-share/TmV3IHNlc3Npb24gLSAyMDI2LTAxLTAzVDAzOjA0OjUxLjY5MVo=.png?model=opencode/claude-opus-4-5&version=1.0.223&id=wXz4WxJi" /></a> [opencode session](https://opencode.ai/s/wXz4WxJi)&nbsp;&nbsp;|&nbsp;&nbsp;[github run](/anomalyco/opencode/actions/runs/20671352617)
yindo added the pull-request label 2026-02-16 18:16:59 -05:00
yindo closed this issue 2026-02-16 18:16:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12061