Skip to content

Fix command-specific --help handling - #892

Merged
Tony133 merged 2 commits into
fastify:mainfrom
TibJnt:codex/fix-help-positionals
Aug 31, 2026
Merged

Fix command-specific --help handling#892
Tony133 merged 2 commits into
fastify:mainfrom
TibJnt:codex/fix-help-positionals

Conversation

@TibJnt

@TibJnt TibJnt commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

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

@Tony133
Tony133 merged commit 44db164 into fastify:main Aug 31, 2026
17 checks passed
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.

2 participants