static struct swit switches[] = {
#define VERSIONSW 0
- { "version", 0 },
+ { "Version", 0 },
#define HELPSW 1
{ "help", 0 },
{ NULL, 0 }
struct msgs_array msgs = { 0, 0, NULL };
struct msgs *mp;
-#ifdef LOCALE
setlocale(LC_ALL, "");
-#endif
invo_name = mhbasename(argv[0]);
/* read user profile/context */
admonish(msgnam, "unable to read message");
break;
}
- if (mbx_copy(fileno(stdout), fd) == NOTOK) {
+ if (mbox_copy(fileno(stdout), fd) == NOTOK) {
adios(NULL, "error writing to stdout");
}
close(fd);