mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Stop hiding commands
This commit is contained in:
parent
4fdb52e682
commit
8447f39fe1
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue