X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhshow.c;h=0b49b7e887273c10a7c7def006d5b2fa3c430b96;hb=f2a6db98791abab22db95b9a4a01516859d92103;hp=fa7f256258e932293b9846fa6801d8756de5963b;hpb=3480effefa433e71db02129a1e30e454400a54ce;p=mmh diff --git a/uip/mhshow.c b/uip/mhshow.c index fa7f256..0b49b7e 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -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); }