Repository navigation
feat(cli): usage errors show a hint for known wrong commands - #7043
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 25, 2026 01:33
Contributor
|
Pull request #7043 has merge conflicts with |
dan-petty
force-pushed
the
feat/4860-usage-error-command-hints
branch
from
November 25, 2026 04:40
522efd4 to
dd77858
Compare
dan-petty
enabled auto-merge (squash)
November 25, 2026 04:45
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 25, 2026
🤖 I have created a release *beep* *boop* --- ## [0.216.0](v0.215.0...v0.216.0) (2026-11-25) ### Features * **ai:** choose a persona lens from evidence with a rule table ([#7069](#7069)) ([0477867](0477867)) * **ci:** replay changed tests/gate modules in fail-to-pass ([#7086](#7086)) ([707f48d](707f48d)) * **cli:** usage errors show a hint for known wrong commands ([#7043](#7043)) ([120804c](120804c)) * **docs:** mark generated documents in .gitattributes ([#7081](#7081)) ([52b2371](52b2371)), closes [#4888](#4888) * **roadmap:** add eval funnel report by cohort and step ([#7084](#7084)) ([74d983b](74d983b)), closes [#5494](#5494) * **roadmap:** add soft-cap decision chain guards, rule mode, and fit bar ([#7073](#7073)) ([f56ae6a](f56ae6a)) * **roadmap:** choose project review facts by profile ([#7082](#7082)) ([e06f45f](e06f45f)) * **roadmap:** one shared citation module for gate and brain ([#7070](#7070)) ([452bd14](452bd14)) ### Bug Fixes * **deps:** update ghcr.io/dan-petty/devtools Docker tag to v1.1.12 ([#7067](#7067)) ([853e515](853e515)) * **roadmap:** read live issue state after runner Jobs end ([#7085](#7085)) ([7179d25](7179d25)) * **roadmap:** skip release image checks on unrelated repos ([#7074](#7074)) ([b0f4551](b0f4551)) * **roadmap:** work tracker sub-issues instead of returning ([#7083](#7083)) ([a038be7](a038be7)) ### Code Refactoring * **ai:** remove duplicate KB doc copies and require front matter ([#7071](#7071)) ([1f0d49c](1f0d49c)), closes [#3917](#3917) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Usage errors stop agents and people with bare Click messages such as
No such command 'merge'andNo such option: --json, even when the CLI stops on purpose, moves a command to another group, splits a hyphenated subcommand, or requires an option without context (#4860). Telemetry records usage errors, but does not tell apart an error that received a hint from an unhandled error.Closes #4860
Change:
openspec/changes/archive/2026-11-25-4860-usage-error-command-hints/