Changed order in -V/--version output

Fixed -V output for check_log and check_oracle


git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1749 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
Matthias Eble 2007-07-07 11:40:29 +00:00
parent 370561d594
commit a10569f139
3 changed files with 5 additions and 5 deletions

View file

@ -116,11 +116,11 @@ while test -n "$1"; do
exit $STATE_OK
;;
--version)
print_revision $PROGNAME $VERSION
print_revision $PROGNAME $REVISION
exit $STATE_OK
;;
-V)
print_revision $PROGNAME $VERSION
print_revision $PROGNAME $REVISION
exit $STATE_OK
;;
--filename)

View file

@ -89,11 +89,11 @@ case "$cmd" in
exit $STATE_OK
;;
--version)
print_revision $PLUGIN $REVISION
print_revision $PROGNAME $REVISION
exit $STATE_OK
;;
-V)
print_revision $PLUGIN $REVISION
print_revision $PROGNAME $REVISION
exit $STATE_OK
;;
esac

View file

@ -13,7 +13,7 @@ else
fi
print_revision() {
echo "$1 (@PACKAGE@ @VERSION@) $2"
echo "$1 v$2 (@PACKAGE@ @VERSION@)"
$ECHO "@WARRANTY@" | sed -e 's/\n/ /g'
}