X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fap.c;h=3bb2bf0b606b8897ce22cf021ec18937a71510ca;hp=aaa87629d947309ce8fe7a1154973cda1017fa77;hb=32b2354dbaf4bf934936eb5b102a4a3d2fdd209a;hpb=0073224c28bf81dad1812d406bb9915b24b23eb6 diff --git a/uip/ap.c b/uip/ap.c index aaa8762..3bb2bf0 100644 --- a/uip/ap.c +++ b/uip/ap.c @@ -22,7 +22,7 @@ static struct swit switches[] = { #define NNORMSW 2 { "nonormalize", 0 }, #define VERSIONSW 3 - { "version", 0 }, + { "Version", 0 }, #define HELPSW 4 { "help", 0 }, { NULL, 0 } @@ -43,7 +43,7 @@ main(int argc, char **argv) { int addrp = 0, normalize = AD_HOST; int status = 0; - char *cp, *form = NULL, *nfs; + char *cp, *form = NULL, *fmtstr; char buf[BUFSIZ], **argp; char **arguments, *addrs[NADDRS]; @@ -100,10 +100,10 @@ main(int argc, char **argv) adios(NULL, "usage: %s [switches] addrs ...", invo_name); /* get new format string */ - nfs = new_fs(form, FORMAT); + fmtstr = new_fs(form, FORMAT); fmt_norm = normalize; - fmt_compile(nfs, &fmt); + fmt_compile(fmtstr, &fmt); dat[0] = 0; dat[1] = 0;