diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-09-26 16:11:27 -1000 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-05-04 16:05:05 +0200 |
commit | d5c0ed6c8b4b071c240672595c99e0e2b06ee2df (patch) | |
tree | a657c24fd32cce7f92362c43303794cae349f16f | |
parent | eca23923643c99cca861abbd924efbb996849ea4 (diff) | |
download | initscripts-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.
-rw-r--r-- | src/ipcalc.1 | 27 | ||||
-rw-r--r-- | src/ipcalc.c | 3 |
2 files changed, 23 insertions, 7 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 diff --git a/src/ipcalc.c b/src/ipcalc.c index a9efa384..0727cea5 100644 --- a/src/ipcalc.c +++ b/src/ipcalc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997-2003 Red Hat, Inc. All rights reserved. + * Copyright (c) 1997-2008 Red Hat, Inc. All rights reserved. * * This software may be freely redistributed under the terms of the GNU * public license. @@ -11,6 +11,7 @@ * Authors: * Erik Troan <ewt@redhat.com> * Preston Brown <pbrown@redhat.com> + * David Cantrell <dcantrell@redhat.com> */ |