-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
area/v3relates to / is being considered for v3relates to / is being considered for v3status/triagemaintainers still need to look into thismaintainers still need to look into this
Description
What problem does this solve?
- needing to have the opportunity to change FlagStringer for mutually exclusive flags
Solution description
For example, we have mutually exclusive flags m1 & m2, they are required. The fact that one of them (m1 or m2) is required must be displayed to the user. With simple flags we can override cli.FlagStringer func for our custom, where can add some special information if flag is required. But with MutuallyExclusiveFlags it doesn't work.
Maybe add some func to override here too? So we can add some inside logic for output this groups of flags
ivanlevitsky
Metadata
Metadata
Assignees
Labels
area/v3relates to / is being considered for v3relates to / is being considered for v3status/triagemaintainers still need to look into thismaintainers still need to look into this