X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fdist.c;h=c1f4f9d3cb86b621a42d5897d4d1555c7f854c9b;hb=10e03b3fba3e01052baf92c963c46a2a5529b4e0;hp=57efc4e3bdbc4cc5d2410b2bd411099d0663f1a1;hpb=75fca31a5b9d5c1a99c74ab14c94438d8852fba9;p=mmh diff --git a/uip/dist.c b/uip/dist.c index 57efc4e..c1f4f9d 100644 --- a/uip/dist.c +++ b/uip/dist.c @@ -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 */