diff options
author | cos <cos> | 2021-05-26 14:03:24 +0200 |
---|---|---|
committer | cos <cos> | 2021-05-28 21:25:37 +0200 |
commit | 0212e233f8055b35f9597f1874277b3b3385114f (patch) | |
tree | 5b495f16b590cd3df1315bfc8a9db3dc68dace2c | |
parent | 31c6a3d6ed30d493053ab6e0a04d79789c52ddeb (diff) | |
download | calendar-cli-fix/dtend_tz.zip |
Show default value in help for --event-templatefix/dtend_tz
-rwxr-xr-x | calendar-cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar-cli.py b/calendar-cli.py index de82828..72cb3a1 100755 --- a/calendar-cli.py +++ b/calendar-cli.py @@ -946,7 +946,7 @@ def main(): calendar_agenda_parser.add_argument('--to-time', help="Fetch calendar until this timestamp") calendar_agenda_parser.add_argument('--agenda-mins', help="Fetch calendar for so many minutes", type=int) calendar_agenda_parser.add_argument('--agenda-days', help="Fetch calendar for so many days", type=int, default=7) - calendar_agenda_parser.add_argument('--event-template', help="Template for printing out the event", default="{dtstart} {summary}") + calendar_agenda_parser.add_argument('--event-template', help="Template for printing out the event. Defaults to '{dtstart} {summary}'", default="{dtstart} {summary}") calendar_agenda_parser.add_argument('--timestamp-format', help="strftime-style format string for the output timestamps", default="%Y-%m-%d %H:%M (%a)") calendar_agenda_parser.set_defaults(func=calendar_agenda) |