Early exit in r2pm -v to avoid double rainbows

This commit is contained in:
pancake 2021-03-15 12:37:18 +01:00
parent 639045efc5
commit 6f2fd83b64

View File

@ -256,9 +256,11 @@ esac
case "$1" in
-v|version)
echo "r2pm ${R2_VERSION}"
exit 0
;;
help|-h)
help
exit 0
;;
-H)
if [ -z "$2" ]; then
@ -267,6 +269,7 @@ help|-h)
exit 1
fi
eval echo "\$$2"
exit 0
;;
esac