summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2021-06-22 20:14:26 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2021-06-22 20:14:26 +0000
commitd898fb26e1eb4076c6000a7169d7d15e9b3d3043 (patch)
tree48dc78ef797b02c11351b35ab78cefd333925f44 /usr.bin
parent3e3c9199475cdb113b169847f85f666bfe37db05 (diff)
reduce verbosity in usage and make it match SYNOPSIS;
ok millert
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ypmatch/ypmatch.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.bin/ypmatch/ypmatch.c b/usr.bin/ypmatch/ypmatch.c
index ac1b3f814fe..b21f9f5bc02 100644
--- a/usr.bin/ypmatch/ypmatch.c
+++ b/usr.bin/ypmatch/ypmatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypmatch.c,v 1.16 2015/02/08 23:40:35 deraadt Exp $ */
+/* $OpenBSD: ypmatch.c,v 1.17 2021/06/22 20:14:25 jmc Exp $ */
/* $NetBSD: ypmatch.c,v 1.8 1996/05/07 01:24:52 jtc Exp $ */
/*
@@ -61,12 +61,7 @@ usage(void)
fprintf(stderr,
"usage: ypmatch [-kt] [-d domain] key ... mapname\n"
" ypmatch -x\n");
- 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);
}