#define FORMSW 0
{ "form formatfile", 0 },
#define VERSIONSW 1
- { "version", 0 },
+ { "Version", 0 },
#define HELPSW 2
{ "help", 0 },
{ NULL, 0 }
main(int argc, char **argv)
{
int datep = 0, status = 0;
- char *cp, *form = NULL, *nfs;
+ char *cp, *form = NULL, *fmtstr;
char buf[BUFSIZ], **argp, **arguments;
char *dates[NDATES];
-#ifdef LOCALE
setlocale(LC_ALL, "");
-#endif
invo_name = mhbasename(argv[0]);
/* read user profile/context */
adios(NULL, "usage: %s [switches] dates ...", invo_name);
/* get new format string */
- nfs = new_fs(form, FORMAT);
+ fmtstr = new_fs(form, FORMAT);
- fmt_compile(nfs, &fmt);
+ fmt_compile(fmtstr, &fmt);
dat[0] = 0;
dat[1] = 0;