Removed configure flag --disable-locale and have it always enabled.
[mmh] / uip / mhshow.c
index fa7f256..0b49b7e 100644 (file)
@@ -20,7 +20,7 @@ static struct swit switches[] = {
 #define VERBSW  0
        { "verbose", 0 },
 #define NVERBSW  1
-       { "noverbose", 0 },
+       { "noverbose", 2 },
 #define FILESW  2  /* interface from show */
        { "file file", 0 },
 #define FORMSW  3
@@ -30,7 +30,7 @@ static struct swit switches[] = {
 #define TYPESW  5
        { "type content", 0 },
 #define VERSIONSW  6
-       { "version", 0 },
+       { "Version", 0 },
 #define HELPSW  7
        { "help", 0 },
 #define DEBUGSW  8
@@ -100,9 +100,7 @@ main(int argc, char **argv)
 
        done=freects_done;
 
-#ifdef LOCALE
        setlocale(LC_ALL, "");
-#endif
        invo_name = mhbasename(argv[0]);
        if (mh_strcasecmp(invo_name, "next")==0) {
                mode = NEXT;
@@ -156,7 +154,7 @@ main(int argc, char **argv)
 
                        case FILESW:
                                if (mode != SHOW) {
-                                       adios(NULL, "Either call mhshow as `%s' or use -file", invo_name);
+                                       adios(NULL, "Either call show as `%s' or use -file", invo_name);
                                }
 
                                if (!(cp = *argp++) || (*cp == '-' && cp[1]))
@@ -191,7 +189,7 @@ main(int argc, char **argv)
                        else
                                folder = getcpy(expandfol(cp));
                } else if (mode != SHOW) {
-                       adios(NULL, "Either call mhshow as `%s' or give message arguments", invo_name);
+                       adios(NULL, "Either call show as `%s' or give message arguments", invo_name);
                } else {
                        app_msgarg(&msgs, cp);
                }