diff options
Diffstat (limited to 'Lib/setuptools/command/alias.py')
-rwxr-xr-x | Lib/setuptools/command/alias.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Lib/setuptools/command/alias.py b/Lib/setuptools/command/alias.py index f5368b29e9..1df474a34b 100755 --- a/Lib/setuptools/command/alias.py +++ b/Lib/setuptools/command/alias.py @@ -11,17 +11,17 @@ def shquote(arg): if c in arg: return repr(arg) if arg.split()<>[arg]: return repr(arg) - return arg + return arg class alias(option_base): """Define a shortcut that invokes one or more commands""" - + description = "define a shortcut to invoke one or more commands" command_consumes_arguments = True user_options = [ - ('remove', 'r', 'remove (unset) the alias'), + ('remove', 'r', 'remove (unset) the alias'), ] + option_base.user_options boolean_options = option_base.boolean_options + ['remove'] @@ -77,6 +77,3 @@ def format_alias(name, aliases): else: source = '--filename=%r' % source return source+name+' '+command - - - |