Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=0c09fadbc83dabaf90bdf683aa7aaa18ab21fac6
commit 0c09fadbc83dabaf90bdf683aa7aaa18ab21fac6 Author: VMiklos <[EMAIL PROTECTED]> Date: Sat Sep 29 16:21:19 2007 +0200 add -v|--version and -h|--help switches diff --git a/bumppkg b/bumppkg index c78bdd1..54b1d2b 100755 --- a/bumppkg +++ b/bumppkg @@ -122,6 +122,16 @@ USE_COLOR="y" . /usr/lib/frugalware/fwmakepkg . /etc/makepkg.conf +if [ "$1" == "-h" -o "$1" == "--help" ]; then + man bumppkg + exit $? +fi + +if [ "$1" == "-v" -o "$1" == "--version" ]; then + pacman-g2 -Q pacman-tools + exit $? +fi + tree=$repos if [ "$1" == "-t" ]; then tree=$2 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
