Skip to content

Commit 75b2800

Browse files
authored
Merge pull request #8073 from deveshks/pip-config-docstring-fix
2 parents 403310e + 18fd161 commit 75b2800

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

news/8072.doc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix pip config docstring so that the subcommands render correctly in the docs

src/pip/_internal/commands/configuration.py

+7-6
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@
1919

2020

2121
class ConfigurationCommand(Command):
22-
"""Manage local and global configuration.
22+
"""
23+
Manage local and global configuration.
2324
2425
Subcommands:
2526
26-
list: List the active configuration (or from the file specified)
27-
edit: Edit the configuration file in an editor
28-
get: Get the value associated with name
29-
set: Set the name=value
30-
unset: Unset the value associated with name
27+
- list: List the active configuration (or from the file specified)
28+
- edit: Edit the configuration file in an editor
29+
- get: Get the value associated with name
30+
- set: Set the name=value
31+
- unset: Unset the value associated with name
3132
3233
If none of --user, --global and --site are passed, a virtual
3334
environment configuration file is used if one is active and the file

0 commit comments

Comments
 (0)