aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-07-08 17:18:52 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-07-08 17:18:52 +0100
commita6c6c18d935e5c020e9ec37bc11fcde2374374b2 (patch)
treee66b313cc14932d97985eaac03458d900a86d523 /bin
parent8757300b6fe5013efbc0841fd634eee4188cf8fc (diff)
Updated client manpage-manufacture.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mauveclient17
1 files changed, 5 insertions, 12 deletions
diff --git a/bin/mauveclient b/bin/mauveclient
index 5e5503a..70f33c7 100755
--- a/bin/mauveclient
+++ b/bin/mauveclient
@@ -1,20 +1,13 @@
#! /usr/bin/ruby1.8
# NAME
-#
-# mauveclient send alert(s) to a given alert station
+# mauveclient - send alert(s) to a given alert station
#
# SYNOPSIS
-#
-# mauveclient [<destination>]
-# [--source | -o <source>] [--replace | -p] [--verbose | -v]
-# [--id <alertid> ... ]
-#
-# DESCRIPTION
-#
-# Blah.
+# mauveclient [<destination>]
+# [--source | -o <source>] [--replace | -p] [--verbose | -v]
+# [--id <alertid> ... ]
#
# OPTIONS
-#
# <destination> Where the alert should go. This can be either a hostname or
# an IP address, and optionally a port, separated by a colon.
# The default port is 32741.
@@ -255,7 +248,7 @@ begin
#
if help
# Open the file, stripping the shebang line
- lines = File.open(__FILE__){|fh| fh.readlines}[2..-1]
+ lines = File.open(__FILE__){|fh| fh.readlines}[1..-1]
lines.each do |line|
line.chomp!