From 0212e233f8055b35f9597f1874277b3b3385114f Mon Sep 17 00:00:00 2001 From: cos Date: Wed, 26 May 2021 14:03:24 +0200 Subject: Show default value in help for --event-template --- calendar-cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3