1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

pkgdelta: add missing --version longopt

This was missed in the switch to parseopts, and was caught by distcheck.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dave Reisner 2012-06-07 06:01:03 -04:00 committed by Dan McGee
parent 6a5370b634
commit 7245bc8e8e

View File

@ -157,7 +157,7 @@ create_xdelta()
} }
OPT_SHORT='hqV' OPT_SHORT='hqV'
OPT_LONG=('help' 'quiet' 'max-delta-size:' 'min-pkg-size:') OPT_LONG=('help' 'quiet' 'max-delta-size:' 'min-pkg-size:' 'version')
if ! parseopts "$OPT_SHORT" "${OPT_LONG[@]}" -- "$@"; then if ! parseopts "$OPT_SHORT" "${OPT_LONG[@]}" -- "$@"; then
exit 1 exit 1
fi fi