Alias name to pkg.

This commit is contained in:
Franck Cuny 2012-11-28 16:04:10 -08:00
parent c0729716c8
commit 3603676ca0

View file

@ -32,6 +32,7 @@ options:
- The name of the Perl library to install - The name of the Perl library to install
required: false required: false
default: null default: null
aliases: ["pkg"]
from_path: from_path:
description: description:
- The local directory from where to install - The local directory from where to install
@ -105,7 +106,7 @@ def _run(cmd):
def main(): def main():
arg_spec = dict( arg_spec = dict(
name=dict(default=None, required=False), name=dict(default=None, required=False, aliases=['pkg']),
from_path=dict(default=None, required=False), from_path=dict(default=None, required=False),
notest=dict(default=False, choices=BOOLEANS), notest=dict(default=False, choices=BOOLEANS),
locallib=dict(default=None, required=False), locallib=dict(default=None, required=False),