summaryrefslogtreecommitdiff
path: root/usr.bin/tty
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-12-13 20:15:49 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-12-13 20:15:49 +0000
commit8db32b2016d86f87e5d0b7184b299d864ea5bc4b (patch)
tree24973936d1533ee0d5865c35530414aefeaab7ef /usr.bin/tty
parent65f9edeee1854664df1377afb43b631fcb2d5544 (diff)
downloadsrc-test-8db32b2016d86f87e5d0b7184b299d864ea5bc4b.tar.gz
src-test-8db32b2016d86f87e5d0b7184b299d864ea5bc4b.zip
Fix markup nits, add the EXIT STATUS section.
Notes
Notes: svn path=/head/; revision=165186
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 4c91919f0b45f..8e55ccb470e4f 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