Fix of recursive mode parser argument

master
Hoffelhas 2020-05-09 18:09:51 +02:00
parent 5d034abf53
commit ce75dcfe50
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ def main():
parser.add_argument('-a', '--api_key', help='Todoist API Key') 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('-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('-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('--debug', help='Enable debugging', action='store_true')
parser.add_argument('--inbox', help='The method the Inbox project should be processed', parser.add_argument('--inbox', help='The method the Inbox project should be processed',
default=None, choices=['parallel', 'serial']) default=None, choices=['parallel', 'serial'])