mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Removed unused argument to commands.
This commit is contained in:
parent
9654f596b9
commit
1134ca2552
|
@ -113,7 +113,7 @@ def main(initial_args=None):
|
|||
parser.error('No command by the name %(script)s %(arg)s\n '
|
||||
'(maybe you meant "%(script)s %(guess)s")' % error_dict)
|
||||
command = command_dict[command]
|
||||
return command.main(initial_args, args[1:], options)
|
||||
return command.main(args[1:], options)
|
||||
|
||||
|
||||
def bootstrap():
|
||||
|
|
|
@ -56,7 +56,7 @@ class Command(object):
|
|||
def setup_logging(self):
|
||||
pass
|
||||
|
||||
def main(self, complete_args, args, initial_options):
|
||||
def main(self, args, initial_options):
|
||||
options, args = self.parser.parse_args(args)
|
||||
self.merge_options(initial_options, options)
|
||||
|
||||
|
|
Loading…
Reference in a new issue