# TODO option to attempt to resume an ongoing install
# zpm-install [-SCn] [ -d localdb ] [ -f pkgfile ] [ -R installroot ] pkgstr ...
-while getopts f:d:R:nSCvAObBLUz opt; do
+while getopts f:d:R:nSCvAObBLUzp opt; do
case $opt in
f) pkgfile="$OPTARG" ;;
d) localdb="$OPTARG" ;;
l) justlist=1 ;;
U) uninstall=1 ;;
z) pullrepos=0 ;;
+ p) syncopts="$syncopts -p" ;;
*) die "usage ..." ;;
esac
done