aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipcalc.1
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-09-26 16:11:27 -1000
committerHarald Hoyer <harald@redhat.com>2009-05-04 16:05:05 +0200
commitd5c0ed6c8b4b071c240672595c99e0e2b06ee2df (patch)
treea657c24fd32cce7f92362c43303794cae349f16f /src/ipcalc.1
parenteca23923643c99cca861abbd924efbb996849ea4 (diff)
downloadinitscripts-d5c0ed6c8b4b071c240672595c99e0e2b06ee2df.tar
initscripts-d5c0ed6c8b4b071c240672595c99e0e2b06ee2df.tar.gz
initscripts-d5c0ed6c8b4b071c240672595c99e0e2b06ee2df.tar.bz2
initscripts-d5c0ed6c8b4b071c240672595c99e0e2b06ee2df.tar.xz
initscripts-d5c0ed6c8b4b071c240672595c99e0e2b06ee2df.zip
Man page updates for ipcalc(1)
Make sure the ipcalc man page explains the -c, -4, and -6 options. Update some other things. Shamelessly add my name.
Diffstat (limited to 'src/ipcalc.1')
-rw-r--r--src/ipcalc.127
1 files changed, 21 insertions, 6 deletions
diff --git a/src/ipcalc.1 b/src/ipcalc.1
index fd9b2121..30e0b20d 100644
--- a/src/ipcalc.1
+++ b/src/ipcalc.1
@@ -1,4 +1,4 @@
-.TH IPCALC 1 "April 30 2001" "Red Hat, Inc." RH \" -*- nroff -*-
+.TH IPCALC 1 "April 30 2001" "Red Hat, Inc." \" -*- nroff -*-
.SH NAME
ipcalc \- perform simple manipulation of IP addresses
.SH SYNOPSIS
@@ -15,11 +15,24 @@ netmask or a CIDR prefix as well.
.SH OPTIONS
.TP
.TP
-\fB\-b\fR, \fB\-\-broadcast\fR
+\fB\-c\fR, \fB\-\-check\fR
+Validate the IP address under the specified family. If no address
+family is specified, IPv4 is assumed.
+
+.TP
+\fB\-4\fR, \fB\-\-ipv4\fR
+Specify IPv4 address family (default).
+
+.TP
+\fB\-6\fR, \fB\-\-ipv6\fR
+Specify IPv6 address family.
+
+.TP
+\fB\-b\fR, \fB\-\-broadcast\fR
Display the broadcast address for the given IP address and netmask.
.TP
-\fB\-h\fR, \fB\-\-hostname\fR
+\fB\-h\fR, \fB\-\-hostname\fR
Display the hostname for the given IP address.
.TP
@@ -46,12 +59,14 @@ Don't ever display error messages.
Erik Troan <ewt@redhat.com>
.nf
Preston Brown <pbrown@redhat.com>
+
+.TP
+IPv6 supported wedged in by David Cantrell <dcantrell@redhat.com>
.fi
.SH "REPORTING BUGS"
-Report bugs to our bugtracking system:
-http://bugzilla.redhat.com/bugzilla.
+Report bugs at http://bugzilla.redhat.com/
.SH COPYRIGHT
-Copyright \(co 1997-2001 Red Hat, Inc.
+Copyright \(co 1997-2008 Red Hat, Inc.
.br
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR