Report useful error message on broken file(1).
[mmh] / uip / dist.c
index 57efc4e..c1f4f9d 100644 (file)
@@ -14,7 +14,7 @@ static struct swit switches[] = {
 #define ANNOSW  0
        { "annotate", 0 },
 #define NANNOSW  1
-       { "noannotate", 0 },
+       { "noannotate", 2 },
 #define EDITRSW  2
        { "editor editor", 0 },
 #define FORMSW  3
@@ -22,7 +22,7 @@ static struct swit switches[] = {
 #define WHATSW  4
        { "whatnowproc program", 0 },
 #define VERSIONSW  5
-       { "version", 0 },
+       { "Version", 0 },
 #define HELPSW  6
        { "help", 0 },
        { NULL, 0 }
@@ -41,9 +41,7 @@ main(int argc, char **argv)
        struct msgs *mp = NULL;
        char *fmtstr;
 
-#ifdef LOCALE
        setlocale(LC_ALL, "");
-#endif
        invo_name = mhbasename(argv[0]);
 
        /* read user profile/context */