From: Wieland Hoffmann Date: Wed, 30 May 2018 07:45:55 +0000 (+0200) Subject: Improve ensurepip's --help (GH-4686) X-Git-Tag: v3.8.0a1~1716 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9537ad6a128924dd610bea2268065500c174181;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py index 8dc2354ce287..4748ba4efc4d 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)