[PR #1599] [CLOSED] feat(cli): Add -h as alias for --help option, close #1594 #9986

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1599
Author: @PeterDaveHello
Created: 8/4/2025
Status: Closed

Base: devHead: feat/cli-h-alias-help


📝 Commits (1)

  • 61ed73a feat(cli): Add -h as alias for --help option, close #1594

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 packages/opencode/src/index.ts (+1 -0)

📄 Description

This change introduces -h as an alias for the existing --help option.

Previously, the application only responded to --help for displaying usage information in the terminal. This commit ensures that -h provides the same behavior, aligning with common CLI conventions and improving user experience.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1599 **Author:** [@PeterDaveHello](https://github.com/PeterDaveHello) **Created:** 8/4/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/cli-h-alias-help` --- ### 📝 Commits (1) - [`61ed73a`](https://github.com/anomalyco/opencode/commit/61ed73ac8fd64eb4ea15850a34ba5ec33a5654ea) feat(cli): Add -h as alias for --help option, close #1594 ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/index.ts` (+1 -0) </details> ### 📄 Description This change introduces -h as an alias for the existing --help option. Previously, the application only responded to --help for displaying usage information in the terminal. This commit ensures that -h provides the same behavior, aligning with common CLI conventions and improving user experience. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:30 -05:00
yindo closed this issue 2026-02-16 18:14:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9986