jcs's openbsd hax
openbsd

reduce verbosity in usage and make it match SYNOPSIS; ok millert

jmc a82d925c 8b9d6091

+2 -7
+2 -7
usr.bin/ypmatch/ypmatch.c
··· 1 - /* $OpenBSD: ypmatch.c,v 1.16 2015/02/08 23:40:35 deraadt Exp $ */ 1 + /* $OpenBSD: ypmatch.c,v 1.17 2021/06/22 20:14:25 jmc Exp $ */ 2 2 /* $NetBSD: ypmatch.c,v 1.8 1996/05/07 01:24:52 jtc Exp $ */ 3 3 4 4 /* ··· 61 61 fprintf(stderr, 62 62 "usage: ypmatch [-kt] [-d domain] key ... mapname\n" 63 63 " ypmatch -x\n"); 64 - fprintf(stderr, 65 - "where\n" 66 - "\tmapname may be either a mapname or a nickname for a map.\n" 67 - "\t-k prints keys as well as values.\n" 68 - "\t-t inhibits map nickname translation.\n" 69 - "\t-x dumps the map nickname translation table.\n"); 64 + 70 65 exit(1); 71 66 } 72 67