diff options
author | cos <cos> | 2021-05-26 14:03:24 +0200 |
---|---|---|
committer | Tobias Brox <tobias@redpill-linpro.com> | 2021-05-28 21:50:22 +0200 |
commit | 81beeda2fb528dd6a79fa049a07ef7fa4ad5a2d6 (patch) | |
tree | 5b495f16b590cd3df1315bfc8a9db3dc68dace2c | |
parent | a35e0a82a08e2de161a0c8047f3156e4f8c4beb8 (diff) | |
download | calendar-cli-81beeda2fb528dd6a79fa049a07ef7fa4ad5a2d6.zip |
Show default value in help for --event-template
-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) |