update help to make Package Index Options' usage clearer, ref #1814

This commit is contained in:
Phaneendra Chiruvella 2014-05-12 20:19:06 +05:30
parent a26293bbb8
commit 25db84ad8c
2 changed files with 6 additions and 5 deletions

View File

@ -240,7 +240,7 @@ allow_external = OptionMaker(
action="append",
default=[],
metavar="PACKAGE",
help="Allow the installation of externally hosted files",
help="Allow the installation of a package even if it is externally hosted",
)
allow_all_external = OptionMaker(
@ -248,7 +248,7 @@ allow_all_external = OptionMaker(
dest="allow_all_external",
action="store_true",
default=False,
help="Allow the installation of all externally hosted files",
help="Allow the installation of all packages that are externally hosted",
)
# Remove after 1.7
@ -267,7 +267,8 @@ allow_unsafe = OptionMaker(
action="append",
default=[],
metavar="PACKAGE",
help="Allow the installation of insecure and unverifiable files",
help="Allow the installation of a package even if it is hosted "
"in an insecure and unverifiable way",
)
# Remove after 1.7

View File

@ -29,8 +29,8 @@ class InstallCommand(Command):
name = 'install'
usage = """
%prog [options] <requirement specifier> ...
%prog [options] -r <requirements file> ...
%prog [options] <requirement specifier> [package-index-options] ...
%prog [options] -r <requirements file> [package-index-options] ...
%prog [options] [-e] <vcs project url> ...
%prog [options] [-e] <local project path> ...
%prog [options] <archive url/path> ..."""