Don't print version before help summary (bare rbenv already does this)

This commit is contained in:
Sam Stephenson 2012-12-29 12:19:06 -06:00
parent e2e474c59d
commit 57df945738

View file

@ -124,7 +124,6 @@ if [ "$1" = "--usage" ]; then
fi fi
if [ -z "$1" ] || [ "$1" == "rbenv" ]; then if [ -z "$1" ] || [ "$1" == "rbenv" ]; then
[ -n "$usage" ] || rbenv---version
echo "Usage: rbenv <command> [<args>]" echo "Usage: rbenv <command> [<args>]"
[ -z "$usage" ] || exit [ -z "$usage" ] || exit
echo echo