Skip to content

Resolve command help after global options - #69

Merged
jhuntwork merged 1 commit into
mainfrom
nested-command-help
Oct 31, 2026
Merged

jhuntwork merged 1 commit into
mainfrom
nested-command-help

Conversation

@jhuntwork

@jhuntwork jhuntwork commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

mere --root /tmp/mere-profile-test store verify --help showed root help because help routing stopped at the first option, before the global option scan used by normal execution.

Reuse the existing global option scan and command-path resolver so help follows the same routing rules as command execution.

Closes #65.

Help requests bypassed global option processing, so an install prefix before a command caused root help to appear. Reuse the existing global option scan and command resolver to keep help aligned with normal command routing.
@jhuntwork
jhuntwork merged commit 293c9af into main Oct 31, 2026
2 checks passed
@jhuntwork
jhuntwork deleted the nested-command-help branch October 31, 2026 20:55
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.

Show command-specific help for store verify

1 participant