summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-12-01 20:17:46 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-12-01 20:17:46 +0100
commit48d90cce5b02a728e4f4355e97b30a41fe1b4a5c (patch)
tree2adce76dfba5e13c5e357f3996e7f86c133ed9f5 /man
parentda60589511988c61be586502bab81c335d9470e8 (diff)
Use mdoc for the manual
Diffstat (limited to 'man')
-rw-r--r--man/1/host44
1 files changed, 25 insertions, 19 deletions
diff --git a/man/1/host b/man/1/host
index c027901..4d7c172 100644
--- a/man/1/host
+++ b/man/1/host
@@ -1,21 +1,27 @@
-.TH HOST 1 "2009-10-19" "Daniel Friesel" "User Commands"
-.SH "NAME"
-\fBhost\fR \- look up hostnames or IPs
-.SH "SYNOPSIS"
-\fBhost\fR [\fB-46r\fR] \fIhost\fR
-.SH "DESCRIPTION"
-\fBhost\fR looks up \fIhost\fR (hostname or IP address) and returns the results,
-one item per line.
+.Dd December 1, 2009
+.Dt HOST 1
+.Os
+.Sh NAME
+.Nm host
+.Nd look up hostnames or IPs
+.Sh SYNOPSIS
+.Nm
+.Op Fl 4
+.Op Fl 6
+.Op Fl r
+.Ar host
+.Sh DESCRIPTION
+.Nm
+looks up
+.Ar host
+(hostname or IP address) and returns the results, one item per line.
That is, it will either perform a DNS or RDNS lookup, depending on the input.
-.SH "OPTIONS"
-.TP
-\fB-4\fR
-Only perfom IPv4 lookups
-
-.TP
-\fB-6\fR
-Only perform IPv6 lookups
-
-.TP
-\fB-r\fR
+.Sh OPTIONS
+.Bl -tag -width
+.It Fl 4
+Only perform IPv4 (A) lookups
+.It Fl 6
+Only perform IPv6 (AAAA) lookups
+.It Fl r
Always print the RDNS
+.El