summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornixscripter <nixscripter@gmail.com>2015-06-23 23:33:41 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2015-09-07 14:16:31 -0500
commita9dec314063c5de09758e8c5f124a7b62c639755 (patch)
tree2147eae9e7fb7462320628ff3f48cc91c6ff0927
parent43869ab08b5f558b40547f8e9def6a4f35e0da88 (diff)
downloadpep8-a9dec314063c5de09758e8c5f124a7b62c639755.tar.gz
Reworded --diff flag help string to improve clarity (which created misunderstandings in Issue #407)
-rwxr-xr-xpep8.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pep8.py b/pep8.py
index 19c563b..fdfb71f 100755
--- a/pep8.py
+++ b/pep8.py
@@ -1962,8 +1962,8 @@ def get_parser(prog='pep8', version=__version__):
parser.add_option('--format', metavar='format', default='default',
help="set the error format [default|pylint|<custom>]")
parser.add_option('--diff', action='store_true',
- help="report only lines changed according to the "
- "unified diff received on STDIN")
+ help="analyze changes only within line number ranges of "
+ "the unified diff received on STDIN")
group = parser.add_option_group("Testing Options")
if os.path.exists(TESTSUITE_PATH):
group.add_option('--testsuite', metavar='dir',