Kaydet (Commit) e9537ad6 authored tarafından Wieland Hoffmann's avatar Wieland Hoffmann Kaydeden (comit) Petr Viktorin

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.
üst 0a28c0d1
...@@ -182,15 +182,15 @@ def _main(argv=None): ...@@ -182,15 +182,15 @@ def _main(argv=None):
"--altinstall", "--altinstall",
action="store_true", action="store_true",
default=False, default=False,
help=("Make an alternate install, installing only the X.Y versioned" help=("Make an alternate install, installing only the X.Y versioned "
"scripts (Default: pipX, pipX.Y, easy_install-X.Y)"), "scripts (Default: pipX, pipX.Y, easy_install-X.Y)."),
) )
parser.add_argument( parser.add_argument(
"--default-pip", "--default-pip",
action="store_true", action="store_true",
default=False, default=False,
help=("Make a default pip install, installing the unqualified pip " 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) args = parser.parse_args(argv)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment