summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-11 11:56:47 -0500
committerDan McGee <dan@archlinux.org>2011-08-11 11:56:47 -0500
commitfffaba50fb6227462d3312b667f55293aa0b9214 (patch)
tree20ef3c8ace5010cd3a4e689de6bccebbf1692b94 /scripts
parentc5eccedc63dedd6a0ac89f86c8fc54e7ccad40be (diff)
downloadpacman-fffaba50fb6227462d3312b667f55293aa0b9214.tar.xz
scripts/pkgdelta: fix `make distcheck`
--help and --version are required by the sanity checks performed by `make distcheck`. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pkgdelta.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in
index 0f3472b6..a0e3ceec 100644
--- a/scripts/pkgdelta.sh.in
+++ b/scripts/pkgdelta.sh.in
@@ -124,7 +124,9 @@ create_xdelta()
}
case "$1" in
- -q|--quiet) QUIET=1; shift ;;
+ -h|--help) usage; exit 0 ;;
+ -V|--version) version; exit 0 ;;
+ -q|--quiet) QUIET=1; shift ;;
esac
if (( $# != 2 )); then