Module Name: src
Committed By: wiz
Date: Sun Jun 21 15:02:54 UTC 2009
Modified Files:
src/usr.bin/ypwhich: ypwhich.1
Log Message:
Sort options and option descriptions. Use EXIT STATUS header for exit status
description. Use Pa for paths.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/ypwhich/ypwhich.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/ypwhich/ypwhich.1
diff -u src/usr.bin/ypwhich/ypwhich.1:1.16 src/usr.bin/ypwhich/ypwhich.1:1.17
--- src/usr.bin/ypwhich/ypwhich.1:1.16 Sat Jun 20 19:27:26 2009
+++ src/usr.bin/ypwhich/ypwhich.1 Sun Jun 21 15:02:54 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: ypwhich.1,v 1.16 2009/06/20 19:27:26 christos Exp $
+.\" $NetBSD: ypwhich.1,v 1.17 2009/06/21 15:02:54 wiz Exp $
.\"
.\" Copyright (c) 1994 Christopher G. Demetriou
.\" All rights reserved.
@@ -36,18 +36,13 @@
.Nd return hostname of NIS server of map master
.Sh SYNOPSIS
.Nm
-.Op Fl d Ar domain
-.Oo
-.Op Fl h
-.Ar host
-.Oc
.Op Fl T
+.Op Fl d Ar domain
+.Op Op Fl h Ar host
.Nm
+.Op Fl fTt
.Op Fl d Ar domain
.Op Fl h Ar host
-.Op Fl f
-.Op Fl t
-.Op Fl T
.Fl m Op Ar mname
.Nm
.Fl x
@@ -71,8 +66,6 @@
.Bl -tag -width Fl
.It Fl d Ar domain
Specify a domain other than the default domain.
-.It Fl h Ar host
-Specify a host other than localhost to query for information.
.It Fl f
When used in conjunction with
.Fl m ,
@@ -82,11 +75,8 @@
.Ar host
directly, without using the local copy of
.Xr ypbind 8 .
-.It Fl t
-Inhibit translation of map nicknames
-to their corresponding map names.
-.It Fl T
-Use TCP protocol instead of UDP.
+.It Fl h Ar host
+Specify a host other than localhost to query for information.
.It Fl m Op Ar mname
Find the master
.Tn NIS
@@ -98,14 +88,21 @@
is omitted,
.Nm
will produce a list of available maps.
+.It Fl T
+Use TCP protocol instead of UDP.
+.It Fl t
+Inhibit translation of map nicknames
+to their corresponding map names.
.It Fl x
-Display the map nickname table, found in /var/yp/nicknames.
-A built-in default translation table is used if /var/yp/nicknames
+Display the map nickname table, found in
+.Pa /var/yp/nicknames .
+A built-in default translation table is used if
+.Pa /var/yp/nicknames
does not exist (see
.Xr nicknames 5
for details).
.El
-.Pp
+.Sh EXIT STATUS
.Nm
exits with a non-zero exit code if
.Fl m