mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-05-04 22:59:45 +02:00
Add "-nt" option to only show todos.
This commit is contained in:
@@ -1213,6 +1213,10 @@ int TriggerReminder(ParsePtr p, Trigger *t, TimeTrig const *tim, int dse, int is
|
||||
char const *msg_command = NULL;
|
||||
Value v;
|
||||
|
||||
if (OnlyTodos && !(t->is_todo)) {
|
||||
return OK;
|
||||
}
|
||||
|
||||
if (MsgCommand) {
|
||||
msg_command = MsgCommand;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user