My urfave/cli version is
latest v2
Checklist
Describe the bug
Commit: 8227be1
introduced a backward compatibility issue. As before non categorized flags would show alongside categorized flags. After this commit non categorized do not show at all.
To reproduce
TestCommand_VisibleFlagCategories is a direct test of the breaking change, Just because no category is set, the flag should not be invisible.
Expected behavior
Flags should show in help unless explicitly hidden
Want to fix this yourself?
Sure, I'll introduce a PR shortly
Run go version and paste its output here
go version go1.19.4 linux/amd64
My urfave/cli version is
latest v2
Checklist
Describe the bug
Commit: 8227be1
introduced a backward compatibility issue. As before non categorized flags would show alongside categorized flags. After this commit non categorized do not show at all.
To reproduce
TestCommand_VisibleFlagCategories is a direct test of the breaking change, Just because no category is set, the flag should not be invisible.
Expected behavior
Flags should show in help unless explicitly hidden
Want to fix this yourself?
Sure, I'll introduce a PR shortly
Run
go versionand paste its output here