From eb76e0b20da5ac71f304a930df5c0f9fcf56652b Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Fri, 15 Jul 2011 15:27:55 +0100 Subject: * Upped the version to 3.1.0. * Added a Mauve::VERSION constant * Updated manpages, and help to be better. --- Makefile | 2 +- bin/mauveclient | 42 +++++++++++++++++++++++++++++++------- bin/mauveconsole | 42 +++++++++++++++++++++++++++----------- bin/mauveserver | 43 +++++++++++++++++++++++++++++---------- debian/changelog | 6 ++++++ debian/mauvealert-common.install | 1 + debian/mauvealert-server.links | 1 + debian/mauvealert-server.manpages | 2 ++ lib/mauve/version.rb | 5 +++++ 9 files changed, 113 insertions(+), 31 deletions(-) create mode 100644 debian/mauvealert-server.links create mode 100644 debian/mauvealert-server.manpages create mode 100644 lib/mauve/version.rb diff --git a/Makefile b/Makefile index 3776678..b412315 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ man: mkdir -p man man/%.1: bin/% - ruby -I lib $< --help | txt2man -t $(notdir $<) -s 1 > $@ + ruby -I lib $< --manual | txt2man -t $(notdir $<) -s 1 > $@ clean: $(RM) -r man diff --git a/bin/mauveclient b/bin/mauveclient index e3bc453..12747fa 100755 --- a/bin/mauveclient +++ b/bin/mauveclient @@ -4,6 +4,7 @@ # # SYNOPSIS # mauveclient [] +# [ --help | -h ] [ --manual | -m ] [ --version | -V ] # [--source | -o ] [--replace | -p] [--verbose | -v] # [--id ... ] # @@ -40,6 +41,12 @@ # specify it twice, it will print the entire data # structure. # +# --help, -h Display a short help message, and exit. +# +# --manual, -m Display this manual, and exit. +# +# --version, -V Display the version number for Mauve and exit. +# # You can specify any number of alerts in an update - every time you specify # --id starts a new alert. # @@ -67,7 +74,6 @@ # no time is specified, "now" is assumed. See # SPECIFYING TIMES below for the format of