Require at least 2 chars for `no' variants of switches.
[mmh] / uip / mhparam.c
index 664e5d0..a339945 100644 (file)
@@ -15,11 +15,11 @@ static struct swit switches[] = {
 #define COMPSW  0
        { "components", 0 },
 #define NCOMPSW  1
-       { "nocomponents", 0 },
+       { "nocomponents", 2 },
 #define ALLSW  2
        { "all", 0 },
 #define VERSIONSW 3
-       { "version", 0 },
+       { "Version", 0 },
 #define HELPSW  4
        { "help", 0 },
 #define DEBUGSW   5
@@ -47,7 +47,6 @@ static struct proc procs [] = {
        { "whatnowproc",   &whatnowproc },
        { "etcdir",        &mhetcdir },
        { "backup-prefix", &backup_prefix },
-       { "altmsg-link",   &altmsglink },
        { "draft-folder",  &draftfolder },
        { "trash-folder",  &trashfolder },
        { NULL,            NULL },