diff --git a/open-todo-txt.py b/jrnlwarrior.py similarity index 98% rename from open-todo-txt.py rename to jrnlwarrior.py index 5e795c6..546a5bf 100755 --- a/open-todo-txt.py +++ b/jrnlwarrior.py @@ -161,7 +161,7 @@ def is_today(cur_date): def add_today(fname, options): cmd = ["task", "+TODAY or +OVERDUE", "export"] - tasks = f"[{TODAY} 21:00] {options.todo_block_title}\n" + tasks = f"[{TODAY} 09:00] {options.todo_block_title}\n" for task in json.loads(check_output(cmd)): tasks += f"{task['description']}\n" diff --git a/options.py b/options.py index 1dd9475..8f72fe2 100644 --- a/options.py +++ b/options.py @@ -44,7 +44,7 @@ def parse_cmdline_args(options): "-n", "--dryrun", help="only simulate and print changes", action="store_true" ) parser.add_argument("-f", "--file", help="the jrnl file to ingest") - parser.add_argument("-b", "--blocktitle", help="the jrnl file to ingest") + parser.add_argument("-b", "--blocktitle", help="the title of entries to parse") parser.add_argument( "-L", "--nologging",