Add support for -k: option --- applies command only to *queued* reminders.

This commit is contained in:
Dianne Skoll
2023-03-13 15:16:24 -04:00
parent 8ed49ead7f
commit e3ec6565e9
6 changed files with 35 additions and 9 deletions
+6 -1
View File
@@ -600,7 +600,12 @@ void InitRemind(int argc, char const *argv[])
case 'k':
case 'K':
MsgCommand = arg;
if (*arg == ':') {
arg++;
QueuedMsgCommand = arg;
} else {
MsgCommand = arg;
}
while (*arg) arg++; /* Chew up remaining chars in this arg */
break;