Add a alias from organisation to organization (#45688)

Since 'organization' is the spelling used accross all others modules,
I think it would be better to at least have this one as a alias.

Organisation is the UK/Australia/NZ spelling, while organization is the
US one.
This commit is contained in:
Michael Scherer 2018-09-17 21:50:46 +02:00 committed by Brian Coca
parent 52c20bbd3f
commit bef1e5621b

View file

@ -125,6 +125,7 @@ options:
organisation: organisation:
description: description:
- Organisation - Organisation
aliases: [ organization ]
override_pw_history: override_pw_history:
type: bool type: bool
default: 'no' default: 'no'
@ -330,7 +331,8 @@ def main():
type='list', type='list',
aliases=['mobileTelephoneNumber']), aliases=['mobileTelephoneNumber']),
organisation=dict(default=None, organisation=dict(default=None,
type='str'), type='str',
aliases=['organization']),
overridePWHistory=dict(default=False, overridePWHistory=dict(default=False,
type='bool', type='bool',
aliases=['override_pw_history']), aliases=['override_pw_history']),