Tweak alias consistency a bit. 'package' has never been documented, but since it works, make it work in both places.

'name' is the preferred form.  Similarly, take 'name' for the 'guest' argument to the 'virt' module.
This commit is contained in:
Michael DeHaan 2012-07-28 09:22:13 -04:00
commit 487c826700
2 changed files with 2 additions and 2 deletions

View file

@ -386,7 +386,7 @@ def main():
params[k] = v
state = params.get('state', None)
guest = params.get('guest', None)
guest = params.get('guest', params.get('name', None))
command = params.get('command', None)
options = params.get('options', [])