From 7571046dc2c165c8282d6af78f3e79a849216863 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 6 Sep 2009 11:13:47 +0200 Subject: Moved manual to another location --- Makefile | 2 +- man/1/host | 26 ++++++++++++++++++++++++++ man/man1/host.1 | 26 -------------------------- 3 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 man/1/host delete mode 100644 man/man1/host.1 diff --git a/Makefile b/Makefile index 0ede347..06bf4ff 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ bin/%: src/%.c install: bin/host mkdir -p $(prefix)/bin $(prefix)/share/man/man1 cp bin/host $(prefix)/bin/host - cp man/man1/host.1 $(prefix)/share/man/man1 + cp man/1/host $(prefix)/share/man/man1/host.1 chmod 755 $(prefix)/bin/host chmod 644 $(prefix)/share/man/man1/host.1 diff --git a/man/1/host b/man/1/host new file mode 100644 index 0000000..8f426ff --- /dev/null +++ b/man/1/host @@ -0,0 +1,26 @@ +.TH HOST 1 "2009-08-18" "host v0.0" "host" +.if n .ad l +.nh + +.SH "NAME" + +host \- 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. +That is, it will either perform a DNS or RDNS lookup, depending on the input. + +.SS "OPTIONS" + +.IP "\fB-4\fR" +Only perfom IPv4 lookups +.IP "\fB-6\fR" +Only perform IPv6 lookups +.IP "\fB-r\fR" +Always print the RDNS diff --git a/man/man1/host.1 b/man/man1/host.1 deleted file mode 100644 index 8f426ff..0000000 --- a/man/man1/host.1 +++ /dev/null @@ -1,26 +0,0 @@ -.TH HOST 1 "2009-08-18" "host v0.0" "host" -.if n .ad l -.nh - -.SH "NAME" - -host \- 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. -That is, it will either perform a DNS or RDNS lookup, depending on the input. - -.SS "OPTIONS" - -.IP "\fB-4\fR" -Only perfom IPv4 lookups -.IP "\fB-6\fR" -Only perform IPv6 lookups -.IP "\fB-r\fR" -Always print the RDNS -- cgit v1.2.3