Report useful error message on broken file(1).
[mmh] / uip / fmtdump.c
index b59cf5c..a0e6e14 100644 (file)
@@ -15,7 +15,7 @@ static struct swit switches[] = {
 #define FORMSW  0
        { "form formatfile", 0 },
 #define VERSIONSW  1
-       { "version", 0 },
+       { "Version", 0 },
 #define HELPSW  2
        { "help", 0 },
        { NULL, 0 }
@@ -46,9 +46,7 @@ main(int argc, char **argv)
        char buf[BUFSIZ], *fmtstr, **argp, **arguments;
        struct format *fmt;
 
-#ifdef LOCALE
        setlocale(LC_ALL, "");
-#endif
        invo_name = mhbasename(argv[0]);
 
        /* read user profile/context */