Require at least 2 chars for `no' variants of switches.
[mmh] / uip / refile.c
index 318d555..76384dd 100644 (file)
@@ -16,13 +16,13 @@ static struct swit switches[] = {
 #define LINKSW  0
        { "link", 0 },
 #define NLINKSW  1
-       { "nolink", 0 },
+       { "nolink", 2 },
 #define SRCSW  2
        { "src +folder", 0 },
 #define FILESW  3
        { "file file", 0 },
 #define VERSIONSW  4
-       { "version", 0 },
+       { "Version", 0 },
 #define HELPSW  5
        { "help", 0 },
        { NULL, 0 }
@@ -125,11 +125,6 @@ main(int argc, char **argv)
        if (foldp == 0)
                adios(NULL, "no folder specified");
 
-#ifdef WHATNOW
-       if (!msgs.size && !foldp && !filep && (cp = getenv("mhdraft")) && *cp)
-               files[filep++] = cp;
-#endif /* WHATNOW */
-
        /*
        ** We are refiling a file to the folders
        */