Deprecate multiple_occurrences, removing it on next breaking change #3772
Labels
A-parsing
Area: Parser's logic and needs it changed somehow.
M-breaking-change
Meta: Implementing or merging this will introduce a breaking change.
S-waiting-on-decision
Status: Waiting on a go/no-go before implementing
Milestone
With #3405, we are adding Actions. This would allow us to fold multiple occurrences into Actions if we are willing for Command::args_override_self to be exclusively the behavior.
This would remove mixing of multiple occurrences and multiple values for positionals, leading us to reject issues like #3763.
This means we need to revisit #2993. We'd need to have different behavior for flags (default to
Extend
) and positional arguments (default toSet
with multiple values).The text was updated successfully, but these errors were encountered: