Require at least 2 chars for `no' variants of switches.
[mmh] / uip / prompter.c
index 6db0455..024f604 100644 (file)
@@ -33,11 +33,11 @@ static struct swit switches[] = {
 #define PREPSW  2
        { "prepend", 0 },
 #define NPREPSW  3
-       { "noprepend", 0 },
+       { "noprepend", 2 },
 #define RAPDSW  4
        { "rapid", 0 },
 #define NRAPDSW  5
-       { "norapid", 0 },
+       { "norapid", 2 },
 #define BODYSW  6
        { "body", -4 },
 #define NBODYSW  7
@@ -45,7 +45,7 @@ static struct swit switches[] = {
 #define DOTSW  8
        { "doteof", 0 },
 #define NDOTSW  9
-       { "nodoteof", 0 },
+       { "nodoteof", 2 },
 #define VERSIONSW 10
        { "Version", 0 },
 #define HELPSW  11