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'])