1
0
Fork 0
forked from github/pelican

Don't fail if --fatal not provided

Fixes https://github.com/getpelican/pelican/issues/1891
This commit is contained in:
Kernc 2016-01-18 01:12:15 +01:00
commit d7407eabab

View file

@ -323,7 +323,7 @@ def parse_arguments():
help='Comma separated list of selected paths to write')
parser.add_argument('--fatal', metavar='errors|warnings',
choices=('errors', 'warnings'),
choices=('errors', 'warnings'), default='',
help=('Exit the program with non-zero status if any '
'errors/warnings encountered.'))