From 7b2be65e8ce8bc591ea5fc86e2fda098e3f2ae48 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Tue, 20 Mar 2018 00:09:19 +0530 Subject: [PATCH] Correctly assign summary for pip config --- src/pip/_internal/commands/configuration.py | 26 ++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/pip/_internal/commands/configuration.py b/src/pip/_internal/commands/configuration.py index 24a45e847..57448cb90 100644 --- a/src/pip/_internal/commands/configuration.py +++ b/src/pip/_internal/commands/configuration.py @@ -13,19 +13,7 @@ logger = logging.getLogger(__name__) class ConfigurationCommand(Command): - """Manage local and global configuration.""" - name = 'config' - usage = """ - %prog [] list - %prog [] [--editor ] edit - - %prog [] get name - %prog [] set name value - %prog [] unset name - """ - - summary = """ - Manage local and global configuration. + """Manage local and global configuration. Subcommands: @@ -41,6 +29,18 @@ class ConfigurationCommand(Command): default. """ + name = 'config' + usage = """ + %prog [] list + %prog [] [--editor ] edit + + %prog [] get name + %prog [] set name value + %prog [] unset name + """ + + summary = "Manage local and global configuration." + def __init__(self, *args, **kwargs): super(ConfigurationCommand, self).__init__(*args, **kwargs)