mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-21 21:27:06 +00:00
Early exit in r2pm -v to avoid double rainbows
This commit is contained in:
parent
639045efc5
commit
6f2fd83b64
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user