From a6c6c18d935e5c020e9ec37bc11fcde2374374b2 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Fri, 8 Jul 2011 17:18:52 +0100 Subject: Updated client manpage-manufacture. --- bin/mauveclient | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'bin') 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 [] -# [--source | -o ] [--replace | -p] [--verbose | -v] -# [--id ... ] -# -# DESCRIPTION -# -# Blah. +# mauveclient [] +# [--source | -o ] [--replace | -p] [--verbose | -v] +# [--id ... ] # # OPTIONS -# # 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! -- cgit v1.2.1