Status: Accepted
Owner: ----
Labels: bwic Type-Enhancement Target-2.8.2 Priority-Low

New issue 1520 by pekka.klarck: Invalid values for `--RemoveKeywords` option should fail execution and not be skipped
http://code.google.com/p/robotframework/issues/detail?id=1520

Currently invalid values for --RemoveKeywords option are silently ignored. This is a bad practice because users don't see was the value they provided correct or not. This should be changed so that invalid values cause an explicit error.

The only problem is that changes like this are backwards-incompatible. I doubt anyone is actively using invalid values for this option, though, so this shouldn't be a problem. If someone actually uses an invalid option, probably they are happy to learn about this.

There is a potential, but unlikely, use case where a default value is needed for this option, for example, in a custom start-up script, and that default value should not remove any keywords. To support this use case, we can easily add new `NONE` mode to --RemoveKeywords that does nothing.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to