Specify the default ignore list in the help options.
authorIan Lee <IanLee1521@gmail.com>
Tue, 23 Dec 2014 05:34:22 +0000 (21:34 -0800)
committerIan Lee <IanLee1521@gmail.com>
Tue, 23 Dec 2014 05:34:22 +0000 (21:34 -0800)
pep8.py

diff --git a/pep8.py b/pep8.py
index 92a10db096cc7f41842754d25bbb2f3283078dec..a2e718b0e8a367f651e7ae2aa86724dba14f16fd 100755 (executable)
--- 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',