mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Make an empty -k option the same as no -k option.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user