From 13373c37cf766cd17dc7553adb1f82cb94a4b772 Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Thu, 6 Apr 2017 13:27:46 -0400 Subject: [PATCH] Generalize help text for compile/no-compile flags --- news/4316.bugfix | 1 + pip/commands/install.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 news/4316.bugfix diff --git a/news/4316.bugfix b/news/4316.bugfix new file mode 100644 index 000000000..5fec2ac48 --- /dev/null +++ b/news/4316.bugfix @@ -0,0 +1 @@ +Generalize help text for ``compile``/``no-compile` flags. diff --git a/pip/commands/install.py b/pip/commands/install.py index 1af43a1b6..a49dfa786 100644 --- a/pip/commands/install.py +++ b/pip/commands/install.py @@ -143,14 +143,14 @@ class InstallCommand(RequirementCommand): action="store_true", dest="compile", default=True, - help="Compile py files to pyc", + help="Compile Python source files to bytecode", ) cmd_opts.add_option( "--no-compile", action="store_false", dest="compile", - help="Do not compile py files to pyc", + help="Do not compile Python source files to bytecode", ) cmd_opts.add_option(cmdoptions.no_binary())