Skip to content

Fix command-specific --help handling#892

Open
TibJnt wants to merge 1 commit into
fastify:mainfrom
TibJnt:codex/fix-help-positionals
Open

Fix command-specific --help handling#892
TibJnt wants to merge 1 commit into
fastify:mainfrom
TibJnt:codex/fix-help-positionals

Conversation

@TibJnt

@TibJnt TibJnt commented Jun 7, 2026

Copy link
Copy Markdown

Summary

  • Fix command-specific help handling for fastify --help <command>
  • Read command names from parseArgs().positionals instead of the parsed option values
  • Add a regression test for fastify --help generate

Validation

  • node --test test/cli.test.js
  • npm run lint

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.

1 participant