Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gcalcli/argparsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ def get_argument_parser():
default_cmd = 'notify-send -u critical -i appointment-soon -a gcalcli %s'
remind = sub.add_parser(
'remind',
parents=[calendars_parser],
parents=[calendars_parser, output_parser],
help='execute command if event occurs within <mins> time',
description='Execute <cmd> if event occurs within <mins>; the %s '
'in <command> is replaced with event start time and title text.'
Expand Down
3 changes: 3 additions & 0 deletions gcalcli/gcal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1541,6 +1541,9 @@ def Remind(self, minutes, command, use_reminders=False):
if event['s'] < self.now:
continue

if self.options['ignore_declined'] and self._DeclinedEvent(event):
continue

# not sure if 'reminders' always in event
if use_reminders and 'reminders' in event \
and 'overrides' in event['reminders']:
Expand Down