aboutsummaryrefslogtreecommitdiffstats
path: root/webmap-download
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-06-02 13:40:12 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-06-02 13:54:51 +0200
commit527cc0372edc6cecdd4c211e5629d7a0a7d3d892 (patch)
tree3d0ef3d93bb0e67b2eede387767836d1e1baf126 /webmap-download
parentadb5e2a6e766eecedd2aead41387f50ffc7b26ed (diff)
webmap-download: Set --exit-code by default.
This can be turned off with --no-exit-code.
Diffstat (limited to 'webmap-download')
-rwxr-xr-xwebmap-download2
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()