tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
reduce verbosity in usage and make it match SYNOPSIS; ok millert
jmc
4 years ago
a82d925c
8b9d6091
+2
-7
1 changed file
expand all
collapse all
unified
split
usr.bin
ypmatch
ypmatch.c
+2
-7
usr.bin/ypmatch/ypmatch.c
reviewed
···
1
1
-
/* $OpenBSD: ypmatch.c,v 1.16 2015/02/08 23:40:35 deraadt Exp $ */
1
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
64
-
fprintf(stderr,
65
65
-
"where\n"
66
66
-
"\tmapname may be either a mapname or a nickname for a map.\n"
67
67
-
"\t-k prints keys as well as values.\n"
68
68
-
"\t-t inhibits map nickname translation.\n"
69
69
-
"\t-x dumps the map nickname translation table.\n");
64
64
+
70
65
exit(1);
71
66
}
72
67