Skip to content

Commit

Permalink
Stop hiding commands
Browse files Browse the repository at this point in the history
  • Loading branch information
xavfernandez committed Mar 3, 2016
1 parent 4fdb52e commit 8447f39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions pip/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
]


def get_summaries(ignore_hidden=True, ordered=True):
def get_summaries(ordered=True):
"""Yields sorted (command name, command summary) tuples."""

if ordered:
Expand All @@ -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)


Expand Down
1 change: 0 additions & 1 deletion pip/commands/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8447f39

Please sign in to comment.