diff options
-rwxr-xr-x | webmap-download | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webmap-download b/webmap-download index 03c05af..c8c4178 100755 --- a/webmap-download +++ b/webmap-download @@ -141,7 +141,7 @@ if __name__ == '__main__': parser.add_argument('--lockdir', default=None, help='optional directory for lock files') parser.add_argument('--debug', action='store_true', help=argparse.SUPPRESS) - parser.add_argument('--exit-code', action=argparse.BooleanOptionalAction, + parser.add_argument('--exit-code', default=True, action=argparse.BooleanOptionalAction, help='whether to exit with status 1 in case of download failures') parser.add_argument('groupname', nargs='*', help='Group(s) to process') args = parser.parse_args() |