summaryrefslogtreecommitdiffstats
path: root/Lib/ensurepip
diff options
context:
space:
mode:
authorWieland Hoffmann <mineo@users.noreply.github.com>2018-05-30 07:45:55 (GMT)
committerPetr Viktorin <encukou@gmail.com>2018-05-30 07:45:55 (GMT)
commite9537ad6a128924dd610bea2268065500c174181 (patch)
tree52df382f35bfb4136e4a0605ce67490ff43c19b5 /Lib/ensurepip
parent0a28c0d12ee7201de039ced4d815f57f1f8fd48c (diff)
downloadcpython-e9537ad6a128924dd610bea2268065500c174181.zip
cpython-e9537ad6a128924dd610bea2268065500c174181.tar.gz
cpython-e9537ad6a128924dd610bea2268065500c174181.tar.bz2
Improve ensurepip's --help (GH-4686)
* Add a space to ensurepip's --altinstall option * Add periods to the arguments of ensurepip that didn't have it This makes --help for all optional arguments consistent and also makes it consistent with pip --help.
Diffstat (limited to 'Lib/ensurepip')
-rw-r--r--Lib/ensurepip/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
index 8dc2354..4748ba4 100644
--- a/Lib/ensurepip/__init__.py
+++ b/Lib/ensurepip/__init__.py
@@ -182,15 +182,15 @@ def _main(argv=None):
"--altinstall",
action="store_true",
default=False,
- help=("Make an alternate install, installing only the X.Y versioned"
- "scripts (Default: pipX, pipX.Y, easy_install-X.Y)"),
+ help=("Make an alternate install, installing only the X.Y versioned "
+ "scripts (Default: pipX, pipX.Y, easy_install-X.Y)."),
)
parser.add_argument(
"--default-pip",
action="store_true",
default=False,
help=("Make a default pip install, installing the unqualified pip "
- "and easy_install in addition to the versioned scripts"),
+ "and easy_install in addition to the versioned scripts."),
)
args = parser.parse_args(argv)