From 34ef4d009fab1fafa4107ae3cbf92406359756ee Mon Sep 17 00:00:00 2001 From: araujo Date: Tue, 11 Aug 2015 01:02:17 +0000 Subject: [PATCH] More style(9) fixes. No functional changes. Differential Revision: D3350 Reviewed by: ed Approved by: bapt (mentor) --- usr.bin/ypmatch/ypmatch.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/usr.bin/ypmatch/ypmatch.c b/usr.bin/ypmatch/ypmatch.c index ff5365be25ab..e1e209b790dd 100644 --- a/usr.bin/ypmatch/ypmatch.c +++ b/usr.bin/ypmatch/ypmatch.c @@ -68,12 +68,6 @@ usage(void) fprintf(stderr, "%s\n%s\n", "usage: ypmatch [-kt] [-d domainname] key ... mapname", " ypmatch -x"); - fprintf(stderr, - "where\n" - "\tmapname may be either a mapname or a nickname for a map.\n" - "\t-k prints keys as well as values.\n" - "\t-t inhibits map nickname translation.\n" - "\t-x dumps the map nickname translation table.\n"); exit(1); } @@ -87,10 +81,10 @@ main(int argc, char *argv[]) domainname = NULL; notrans = key = 0; - while ((c=getopt(argc, argv, "xd:kt")) != -1) + while ((c = getopt(argc, argv, "xd:kt")) != -1) switch (c) { case 'x': - for (i=0; i