Skip to content

Fix: help resolution through the registry, argument values and the global -h (fixes #36) - #63

Merged
HafizMMoaz merged 2 commits into
mainfrom
fix/issue-36-help-resolution
Sep 7, 2026
Merged

Fix: help resolution through the registry, argument values and the global -h (fixes #36)#63
HafizMMoaz merged 2 commits into
mainfrom
fix/issue-36-help-resolution

Conversation

@HafizMMoaz

Copy link
Copy Markdown
Member

Resolves the help command through getCommand('help') so registered overrides are honoured, ignores argument 0 as the help target when it does not name a command (so a command that takes arguments can use --help), and lets a command that declares -h or --host receive the short option instead of triggering global help.

@HafizMMoaz
HafizMMoaz merged commit 0624f0b into main Sep 7, 2026
2 checks passed
@HafizMMoaz
HafizMMoaz deleted the fix/issue-36-help-resolution branch September 7, 2026 09:11
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