mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
Improve ensurepip's --help (GH-4686) (GH-7238)
* 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.
(cherry picked from commit e9537ad6a1
)
Co-authored-by: Wieland Hoffmann <mineo@users.noreply.github.com>
This commit is contained in:
parent
f95269404c
commit
d9b118284c
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue