diff options
author | Tobias Brox <tobias@redpill-linpro.com> | 2018-12-11 10:16:09 +0100 |
---|---|---|
committer | Tobias Brox <tobias@redpill-linpro.com> | 2018-12-11 10:16:09 +0100 |
commit | 0b7009ab043ca108bf673c22057cbd31ee29cc52 (patch) | |
tree | 731613b1f337483d76b33096edc11ba59bc52465 /calendar-cli.py | |
parent | 82dd7c180775125ccf0fb6e133022e4bac1d8fe5 (diff) | |
parent | bb12a1dc830b5837ac10328c6d90f3d62342bcd3 (diff) | |
download | calendar-cli-0b7009ab043ca108bf673c22057cbd31ee29cc52.zip |
Merge branch 'v0.11.0.dev'
I'm a bit confused, do we need a separate branch for v0.11.0.dev?
Diffstat (limited to 'calendar-cli.py')
-rwxr-xr-x | calendar-cli.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar-cli.py b/calendar-cli.py index 8c01e14..8368b69 100755 --- a/calendar-cli.py +++ b/calendar-cli.py @@ -35,7 +35,7 @@ import sys import re import urllib3 -__version__ = "0.11.0" +__version__ = "0.11.0.dev0" __author__ = "Tobias Brox" __author_short__ = "tobixen" __copyright__ = "Copyright 2013-2016, Tobias Brox" @@ -796,8 +796,8 @@ def main(): todo_subparsers = todo_parser.add_subparsers(title='tasks subcommand') todo_add_parser = todo_subparsers.add_parser('add') todo_add_parser.add_argument('summaryline', nargs='+') - todo_add_parser.add_argument('--set-due', default=date.today()+timedelta(365)) todo_add_parser.add_argument('--set-dtstart', default=date.today()+timedelta(1)) + todo_add_parser.add_argument('--set-due', default=date.today()+timedelta(1)) todo_add_parser.add_argument('--is-child', help="the new task is a child-task of the selected task(s)", action='store_true') for attr in vtodo_txt_one + vtodo_txt_many: if attr != 'summary': @@ -810,7 +810,7 @@ def main(): 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=365) + 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('--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) |