Merge pull request #8073 from deveshks/pip-config-docstring-fix

This commit is contained in:
Pradyun Gedam 2020-05-23 17:11:46 +05:30 committed by GitHub
commit 75b2800dec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

1
news/8072.doc Normal file
View File

@ -0,0 +1 @@
Fix pip config docstring so that the subcommands render correctly in the docs

View File

@ -19,15 +19,16 @@ logger = logging.getLogger(__name__)
class ConfigurationCommand(Command): class ConfigurationCommand(Command):
"""Manage local and global configuration. """
Manage local and global configuration.
Subcommands: Subcommands:
list: List the active configuration (or from the file specified) - list: List the active configuration (or from the file specified)
edit: Edit the configuration file in an editor - edit: Edit the configuration file in an editor
get: Get the value associated with name - get: Get the value associated with name
set: Set the name=value - set: Set the name=value
unset: Unset the value associated with name - unset: Unset the value associated with name
If none of --user, --global and --site are passed, a virtual If none of --user, --global and --site are passed, a virtual
environment configuration file is used if one is active and the file environment configuration file is used if one is active and the file