Make an empty -k option the same as no -k option.

This commit is contained in:
Dianne Skoll
2023-03-15 09:17:02 -04:00
parent 3d6ecd1f72
commit ddb0817c99

View File

@@ -602,9 +602,13 @@ void InitRemind(int argc, char const *argv[])
case 'K':
if (*arg == ':') {
arg++;
QueuedMsgCommand = arg;
if (*arg) {
QueuedMsgCommand = arg;
}
} else {
MsgCommand = arg;
if (*arg) {
MsgCommand = arg;
}
}
while (*arg) arg++; /* Chew up remaining chars in this arg */
break;