summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvrde <agranzot@gmail.com>2018-04-29 22:45:57 +0200
committervrde <agranzot@gmail.com>2018-05-02 04:38:35 +0200
commitc7b01d3aeef3dd0786190d4c5330fcd800b7066e (patch)
tree7d7840b0eca1d72373ebdc2e5229a599b5526fee
parentf5ee7d01be768b0138fbb28034d5690061aa1695 (diff)
downloadpycco-c7b01d3aeef3dd0786190d4c5330fcd800b7066e.tar.gz
Alias --skip-bad-files to --ignore-errors
-rw-r--r--pycco/main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pycco/main.py b/pycco/main.py
index 492058b..6db3a91 100644
--- a/pycco/main.py
+++ b/pycco/main.py
@@ -605,7 +605,9 @@ def main():
parser.add_option('-i', '--generate_index', action='store_true',
help='Generate an index.html document with sitemap content')
- parser.add_option('-s', '--skip-bad-files', action='store_true',
+ parser.add_option('-s', '--skip-bad-files',
+ '-e', '--ignore-errors',
+ action='store_true',
dest='skip_bad_files',
help='Continue processing after hitting a bad file')