Require at least 2 chars for `no' variants of switches.
[mmh] / uip / anno.c
index 3958eb1..c80b782 100644 (file)
@@ -26,7 +26,7 @@ static struct swit switches[] = {
 #define DATESW 1
        { "date", 0 },
 #define NDATESW 2
-       { "nodate", 0 },
+       { "nodate", 2 },
 #define TEXTSW 3
        { "text body", 0 },
 #define VERSIONSW 4
@@ -44,7 +44,7 @@ static struct swit switches[] = {
 #define PRESERVESW 10
        { "preserve", 0 },
 #define NOPRESERVESW 11
-       { "nopreserve", 0 },
+       { "nopreserve", 2 },
        { NULL, 0 }
 };