hi. diff to reduce verbosity in ypmatch(1) usage. before:
$ /usr/bin/ypmatch -Z ypmatch: unknown option -- Z usage: ypmatch [-kt] [-d domain] key ... mapname ypmatch -x where mapname may be either a mapname or a nickname for a map. -k prints keys as well as values. -t inhibits map nickname translation. -x dumps the map nickname translation table. after: $ /usr/obj/usr.bin/ypmatch/ypmatch -Z ypmatch: unknown option -- Z usage: ypmatch [-kt] [-d domain] key ... mapname ypmatch -x ok? jmc Index: usr.bin/ypmatch/ypmatch.c =================================================================== RCS file: /cvs/src/usr.bin/ypmatch/ypmatch.c,v retrieving revision 1.16 diff -u -p -r1.16 ypmatch.c --- usr.bin/ypmatch/ypmatch.c 8 Feb 2015 23:40:35 -0000 1.16 +++ usr.bin/ypmatch/ypmatch.c 22 Jun 2021 12:44:03 -0000 @@ -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); }