ansible/changelogs/fragments/53698-alias-collision-warning.yaml
Felix Fontein 4a574c4d0c Option parsing: warn if both an option and its alias are specified for a module (#53698)
* Print warning when both an option and its alias is specified.

* Improve output.

* Put warnings into self._warnings directly, resp. use self.warn() when handling subspecs.

* Add changelog.

* Add unit test.
2019-07-19 13:11:41 -04:00

2 lines
102 B
YAML

minor_changes:
- Ansible will now warn if two aliases of the same option are used for Python modules.