From 3118b99a505982aa083a8a6e149b2fdcd4d49cca Mon Sep 17 00:00:00 2001 From: Alexander Haselhoff Date: Sat, 9 May 2020 18:09:51 +0200 Subject: [PATCH] Fix of recursive mode parser argument --- autodoist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autodoist.py b/autodoist.py index 0c22f03..bfd2f2e 100644 --- a/autodoist.py +++ b/autodoist.py @@ -15,7 +15,7 @@ def main(): parser.add_argument('-a', '--api_key', help='Todoist API Key') parser.add_argument('-l', '--label', help='The next action label to use', default='next_action') parser.add_argument('-d', '--delay', help='Specify the delay in seconds between syncs', default=10, type=int) - parser.add_argument('-r', '--recursive', help='Enable re-use of recursive lists') + parser.add_argument('-r', '--recursive', help='Enable re-use of recursive lists', action='store_true') parser.add_argument('--debug', help='Enable debugging', action='store_true') parser.add_argument('--inbox', help='The method the Inbox project should be processed', default=None, choices=['parallel', 'serial'])