Permalink
Browse files

Tweaked the nice patch by James Blanding.

  • Loading branch information...
1 parent fa88130 commit 0403d38d07e07dbb8f8b47836e4f1786b5719087 @wayneeseguin wayneeseguin committed Nov 12, 2010
Showing with 5 additions and 2 deletions.
  1. +5 −2 scripts/install
View
@@ -192,11 +192,14 @@ while [[ $# -gt 0 ]] ; do
env | grep '^rvm_'
set -o xtrace
;;
- --help) usage ; exit ;;
+ --help)
+ usage
+ exit 0
+ ;;
*)
echo "Unrecognized option: $token"
usage
- exit
+ exit 1
;;
esac
done

0 comments on commit 0403d38

Please sign in to comment.