From aa13a2c65888a79fc40848fa19efe194feb065fb Mon Sep 17 00:00:00 2001 From: Tobias Brox Date: Sun, 7 Jun 2020 11:20:50 +0200 Subject: Hm, the --default-due does not really do what it said in the --help --- calendar-cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar-cli.py b/calendar-cli.py index c657d5e..642e453 100755 --- a/calendar-cli.py +++ b/calendar-cli.py @@ -874,8 +874,8 @@ def main(): todo_add_parser.set_defaults(func=todo_add) todo_list_parser = todo_subparsers.add_parser('list') - todo_list_parser.add_argument('--todo-template', help="Template for printing out the event", default="{dtstart}{dtstart_passed_mark} {due}{due_passed_mark} {summary}") - todo_list_parser.add_argument('--default-due', help="Default number of days from a task is submitted until it's considered due", type=int, default=14) + todo_list_parser.add_argument('--todo-template', help="Template for printing out the event", default="{dtstart}{dtstart_passedmark} {due}{due_passed_mark} {summary}") + todo_list_parser.add_argument('--default-due', help="If a task has no due date set, list it with the due date set N days from today", type=int, default=14) todo_list_parser.add_argument('--list-categories', help="Instead of listing the todo-items, list the unique categories used", action='store_true') todo_list_parser.add_argument('--timestamp-format', help="strftime-style format string for the output timestamps", default="%Y-%m-%d (%a)") todo_list_parser.set_defaults(func=todo_list) -- cgit v1.2.3