Skip to content

Fix module help: Always include common attributes - #1993

Merged
FelicianoTech merged 1 commit into
wtfutil:trunkfrom
MaxGyver83:fix-module-help
Feb 12, 2026
Merged

FelicianoTech merged 1 commit into
wtfutil:trunkfrom
MaxGyver83:fix-module-help

Conversation

@MaxGyver83

Copy link
Copy Markdown
Contributor

Currently, the module help skips the common configuration attributes when module-specific attributes are printed.

Try:

wtf -m=git

Common attributes like bordered and title are missing.

The reason is that HelpFromInterface checks for field name "common" but it's actually "Common".

@FelicianoTech FelicianoTech left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch.

@FelicianoTech FelicianoTech added this to the v0.49.0 milestone Feb 12, 2026
@FelicianoTech
FelicianoTech merged commit 5679114 into wtfutil:trunk Feb 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

⌂ 换网址