diff options
author | Ian Lee <IanLee1521@gmail.com> | 2014-12-22 21:34:22 -0800 |
---|---|---|
committer | Ian Lee <IanLee1521@gmail.com> | 2014-12-22 21:34:22 -0800 |
commit | 96ddf8c25f053a9d7ced73b194d8558c90069319 (patch) | |
tree | 4e46511d59903571cacd06f09461ec4596b9b5d8 | |
parent | bc57ff0434cd0d3ca7d0b4857086993bea8b613c (diff) | |
download | pep8-96ddf8c25f053a9d7ced73b194d8558c90069319.tar.gz |
Specify the default ignore list in the help options.
-rwxr-xr-x | pep8.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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', |