summaryrefslogtreecommitdiffstats
path: root/usr.bin/tty
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-12-13 20:15:49 +0000
committerru <ru@FreeBSD.org>2006-12-13 20:15:49 +0000
commitf91f9bc30c692ac3bd85955ee04c8b9102f4ecaa (patch)
tree24973936d1533ee0d5865c35530414aefeaab7ef /usr.bin/tty
parentac0fb656dff8bf7a99867fb9519e91ed32f5aa59 (diff)
downloadFreeBSD-src-f91f9bc30c692ac3bd85955ee04c8b9102f4ecaa.zip
FreeBSD-src-f91f9bc30c692ac3bd85955ee04c8b9102f4ecaa.tar.gz
Fix markup nits, add the EXIT STATUS section.
Diffstat (limited to 'usr.bin/tty')
-rw-r--r--usr.bin/tty/tty.17
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/tty/tty.1 b/usr.bin/tty/tty.1
index 4c91919..8e55ccb 100644
--- a/usr.bin/tty/tty.1
+++ b/usr.bin/tty/tty.1
@@ -51,10 +51,11 @@ utility writes the name of the terminal attached to standard input
to standard output.
The name that is written is the string returned by
.Xr ttyname 3 .
-If the standard input is not a terminal, the message ``not a tty''
+If the standard input is not a terminal, the message
+.Dq Li "not a tty"
is written.
The options are as follows:
-.Bl -tag -width Ds
+.Bl -tag -width indent
.It Fl s
Do not write the terminal name; only the exit status is affected
when this option is specified.
@@ -64,7 +65,7 @@ option is deprecated in favor of the
.Dq Li "test -t 0"
command.
.El
-.Pp
+.Sh EXIT STATUS
The
.Nm
utility
OpenPOWER on IntegriCloud