Add "-nt" option to only show todos.

This commit is contained in:
Dianne Skoll
2025-08-11 19:00:20 -04:00
parent aeff3606d2
commit da4633fab3
3 changed files with 9 additions and 0 deletions
+4
View File
@@ -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;
}