Skip to content

docs: correct the unknown-command exit code in the release checklist - #93

Merged
singhharsh1708 merged 1 commit into
mainfrom
docs/release-checklist-exit-code
Jul 28, 2026
Merged

docs: correct the unknown-command exit code in the release checklist#93
singhharsh1708 merged 1 commit into
mainfrom
docs/release-checklist-exit-code

Conversation

@singhharsh1708

Copy link
Copy Markdown
Owner

Found while walking the checklist for 0.12.0.

docs/release-checklist.md §2 tells the releaser that bogus-cmd should exit 1. Since 0.11.0 it exits 2 — the usage code — with a did-you-mean suggestion instead of a full help dump. That was a deliberate change ("unknown command is 2 (usage) with a did-you-mean suggestion instead of 1 + a full help dump", CHANGELOG 0.11.0), so the code is right and the doc lagged.

Walking the checklist for a release therefore reads as a failed gate on correct behaviour. One line.

0.11.0 made an unknown command exit 2 (usage) with a did-you-mean
suggestion, rather than 1 plus a full help dump. The checklist still
told the releaser to expect 1, so walking it for 0.12.0 read as a
failed gate on correct behaviour.
@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kitbash Ready Ready Preview, Comment Jul 28, 2026 2:15pm

@github-actions github-actions Bot added the documentation Docs, spec, RFCs, README, site label Jul 28, 2026
@singhharsh1708
singhharsh1708 merged commit f8bff4c into main Jul 28, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Docs, spec, RFCs, README, site

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant