Report useful error message on broken file(1).
[mmh] / uip / ap.c
index 623e003..c293a53 100644 (file)
--- a/uip/ap.c
+++ b/uip/ap.c
@@ -20,9 +20,9 @@ static struct swit switches[] = {
 #define NORMSW 1
        { "normalize", 0 },
 #define NNORMSW 2
-       { "nonormalize", 0 },
+       { "nonormalize", 2 },
 #define VERSIONSW 3
-       { "version", 0 },
+       { "Version", 0 },
 #define HELPSW 4
        { "help", 0 },
        { NULL, 0 }
@@ -47,9 +47,7 @@ main(int argc, char **argv)
        char buf[BUFSIZ], **argp;
        char **arguments, *addrs[NADDRS];
 
-#ifdef LOCALE
        setlocale(LC_ALL, "");
-#endif
        invo_name = mhbasename(argv[0]);
 
        /* read user profile/context */