2 # Copyright (c) 2008 David Soria Parra <dsp at php dot net>
4 # Licensed under the terms of the MIT License
5 # See /usr/share/doc/gcutils/copyright
6 # or http://www.opensource.org/licenses/mit-license.php
10 COMMANDS
="gc-commit gc-import gc-multi-commit gc-update"
14 echo "$PROGNAME: $VERSION"
15 echo "available commands"
18 echo -n " " && whatis $cmd | cut
-b 4-
29 if test "$cmd" = "gc-$2"
35 echo "Command $2 not found" 1>&2
41 if test "$cmd" = "gc-$1"
48 echo "Command $1 not found" 1>&2