summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lee <IanLee1521@gmail.com>2014-12-22 21:34:22 -0800
committerIan Lee <IanLee1521@gmail.com>2014-12-22 21:34:22 -0800
commit96ddf8c25f053a9d7ced73b194d8558c90069319 (patch)
tree4e46511d59903571cacd06f09461ec4596b9b5d8
parentbc57ff0434cd0d3ca7d0b4857086993bea8b613c (diff)
downloadpep8-96ddf8c25f053a9d7ced73b194d8558c90069319.tar.gz
Specify the default ignore list in the help options.
-rwxr-xr-xpep8.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pep8.py b/pep8.py
index 92a10db..a2e718b 100755
--- a/pep8.py
+++ b/pep8.py
@@ -1866,7 +1866,8 @@ def get_parser(prog='pep8', version=__version__):
parser.add_option('--select', metavar='errors', default='',
help="select errors and warnings (e.g. E,W6)")
parser.add_option('--ignore', metavar='errors', default='',
- help="skip errors and warnings (e.g. E4,W)")
+ help="skip errors and warnings (e.g. E4,W) "
+ "(default: %s)" % DEFAULT_IGNORE)
parser.add_option('--show-source', action='store_true',
help="show source code for each error")
parser.add_option('--show-pep8', action='store_true',