From 55e015367709130f84b2190ae0bdcbda20ee3b98 Mon Sep 17 00:00:00 2001 From: Hoffelhas Date: Sat, 13 Jun 2020 17:45:08 +0200 Subject: [PATCH] Testing start-date and hide-future concluded --- autodoist.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autodoist.py b/autodoist.py index dc30676..f238e00 100644 --- a/autodoist.py +++ b/autodoist.py @@ -27,7 +27,7 @@ def make_wide(formatter, w=120, h=36): def main(): # Version - current_version = 'v1.2' + current_version = 'v1.3' """Main process function.""" parser = argparse.ArgumentParser( @@ -51,9 +51,9 @@ def main(): parser.add_argument( '-sp', '--sp_suffix', help='Change suffix for sequential-parallel labeling (default "-/").', default='-/') parser.add_argument( - '-hf', '--hide_future', help='Prevent labelling of future tasks beyond a specified number of days.', default = 0, type=int) + '-df', '--dateformat', help='Strptime() format of starting date (default "%%d-%%m-%%Y").', default = '%d-%m-%Y') parser.add_argument( - '-df', '--dateformat', help='Strptime() format of starting date (default "%d-%m-%Y").', default = "%d-%m-%Y", type=str) + '-hf', '--hide_future', help='Prevent labelling of future tasks beyond a specified number of days.', default = 0, type=int) parser.add_argument( '--onetime', help='Update Todoist once and exit.', action='store_true') parser.add_argument(