summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2021-05-26 14:03:24 +0200
committerTobias Brox <tobias@redpill-linpro.com>2021-05-28 21:50:22 +0200
commit81beeda2fb528dd6a79fa049a07ef7fa4ad5a2d6 (patch)
tree5b495f16b590cd3df1315bfc8a9db3dc68dace2c
parenta35e0a82a08e2de161a0c8047f3156e4f8c4beb8 (diff)
downloadcalendar-cli-81beeda2fb528dd6a79fa049a07ef7fa4ad5a2d6.zip
Show default value in help for --event-template
-rwxr-xr-xcalendar-cli.py2
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)