Closed tfausak closed 3 months ago
Note that this is a change in behavior since previously some places that would throw an exception will now merely emit a warning.
I think it would be better to avoid changing any existing behavior and instead only add new warnings. That way this won't have to be a breaking change, and I can focus on improving the CLI later.
I'm now wondering if I should scrap this as well and just throw a warning in this case instead of an error. Not sure why I didn't consider that before.
Fixes #80.
Previously if you passed the same option twice, Gild would silently ignore the first one and use the second one. For example:
That command will use
y
for input and ignorex
.This PR changes the behavior so that Gild will throw an exception in situations like the above. For example: