mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-05-04 14:47:56 +02:00
Add support for -k: option --- applies command only to *queued* reminders.
This commit is contained in:
+6
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user