aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1998-03-10 15:47:15 +0000
committerErik Troan <ewt@redhat.com>1998-03-10 15:47:15 +0000
commit842d09dc8d4363caae6c99598cab2420ac4b5143 (patch)
tree0f74e5f4ccf5236323d60d1a2150eef9cc1f4e89
parentf9610273f64504f14f1459448f93ec78d5f34422 (diff)
downloadinitscripts-842d09dc8d4363caae6c99598cab2420ac4b5143.tar
initscripts-842d09dc8d4363caae6c99598cab2420ac4b5143.tar.gz
initscripts-842d09dc8d4363caae6c99598cab2420ac4b5143.tar.bz2
initscripts-842d09dc8d4363caae6c99598cab2420ac4b5143.tar.xz
initscripts-842d09dc8d4363caae6c99598cab2420ac4b5143.zip
added man page
-rw-r--r--src/ipcalc.129
1 files changed, 29 insertions, 0 deletions
diff --git a/src/ipcalc.1 b/src/ipcalc.1
new file mode 100644
index 00000000..782f8f8e
--- /dev/null
+++ b/src/ipcalc.1
@@ -0,0 +1,29 @@
+.TH IPCALC 1 "Red Hat Software" "RHS" \" -*- nroff -*-
+.SH NAME
+ipcalc \- perform simple manipulation of ip addresses
+.SH SYNOPSIS
+.B ipcalc
+\fI[--hostname] [--broadcast] [--netmask] \fBip \fI[netmask]\fR
+
+.SH DESCRIPTION
+\fBipcalc\fR provides a simple way to find the broadcast address, netmask,
+or hostname for a given IP address and netmask (no netmask is needed if
+only the hostname is requested). The various options specify what information
+\fBipcalc\fR should display on standard out. Multiple options may be
+specified.
+
+.SH OPTIONS
+.TP
+.IP \fI--broadcast\fR
+Display the broadcast address for the given ip address and netmask.
+
+.IP \fI--hostname\fR
+Display the hostname for the given ip address.
+
+.IP \fI--network\fR
+Display the network address for the given ip address and netmask.
+
+.SH AUTHOR
+.nf
+Erik Troan <ewt@redhat.com>
+.fi