From: Enrico Scholz Date: Mon, 6 Oct 2003 19:42:44 +0000 (+0000) Subject: improved '--help'/'--version' messages X-Git-Tag: VERSION_0_10~1307 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83226d3ffc2d218fb3a862a1e9661e8a11127ddc;p=util-vserver.git improved '--help'/'--version' messages git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@51 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vapt-get b/util-vserver/scripts/vapt-get index 13313dd..bacfd33 100755 --- a/util-vserver/scripts/vapt-get +++ b/util-vserver/scripts/vapt-get @@ -26,14 +26,21 @@ test -e "$UTIL_VSERVER_VARS" || { function showHelp() { - echo "Usage: $0 * [--all] -- +" + cat <* [--all] -- + + +Report bugs to <$PACKAGE_BUGREPORT>. +EOF + exit $1 } function showVersion() { cat <