From bdfd165fe277e4cf1efa6754715f6774b05e707e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Wed, 28 Sep 2022 11:22:39 +0200 Subject: [PATCH] MAINT: use retrieve only as default argument when calling from the cmd line --- src/caoscrawler/crawl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py index d2758baa..0704cee9 100644 --- a/src/caoscrawler/crawl.py +++ b/src/caoscrawler/crawl.py @@ -1117,6 +1117,7 @@ def parse_args(): help="The subtree of files below the given path will " "be considered. Use '/' for everything.") parser.add_argument("-s", "--security-mode", choices=["retrieve", "insert", "update"], + default="retrieve", help="Determines whether entities may only be read from the server, or " "whether inserts or even updates may be done.") parser.add_argument("-n", "--dry-run", action="store_true", -- GitLab