1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Stop hiding commands

This commit is contained in:
Xavier Fernandez 2016-03-03 23:49:55 +01:00
parent 4fdb52e682
commit 8447f39fe1
2 changed files with 1 additions and 5 deletions

View file

@ -46,7 +46,7 @@ commands_order = [
]
def get_summaries(ignore_hidden=True, ordered=True):
def get_summaries(ordered=True):
"""Yields sorted (command name, command summary) tuples."""
if ordered:
@ -55,9 +55,6 @@ def get_summaries(ignore_hidden=True, ordered=True):
cmditems = commands_dict.items()
for name, command_class in cmditems:
if ignore_hidden and command_class.hidden:
continue
yield (name, command_class.summary)

View file

@ -33,7 +33,6 @@ class CompletionCommand(Command):
"""A helper command to be used for command completion."""
name = 'completion'
summary = 'A helper command used for command completion'
hidden = False
def __init__(self, *args, **kw):
super(CompletionCommand, self).__init__(*args, **kw)