Closed fridis closed 2 days ago
I think there is some benefit in allowing this and just keeping the last specified value. Of course it does not make sense to add this option multiple times when typing the command, but there are cases that could result in a command with this option being repeated, e.g.
fz
with this option but still being able to override it@simonvonhackewitz IMHO especially the second example is a good illustration why repeated options that do not make sense should lead to emitting an error. From fz's perspective we see conflicting/ambiguous settings and I think it is arbitrary to just choose the last option given.
Try this
Would be good if all options that do not make sense repeatedly would result in an error if they are provided repeatedly.