Remove --force- prefix

This commit is contained in:
Sam Stephenson 2011-10-19 15:21:44 -05:00
parent e9129e5a34
commit 4d8999e9d1

View file

@ -21,7 +21,7 @@ abs_dirname() {
} }
usage() { usage() {
{ echo "usage: rbenv install [--force-build | --force-package] VERSION" { echo "usage: rbenv install [--build | --package] VERSION"
echo " rbenv install /path/to/definition" echo " rbenv install /path/to/definition"
echo echo
echo "Available versions:" echo "Available versions:"
@ -41,10 +41,10 @@ fi
force_build="" force_build=""
force_package="" force_package=""
if [ "$1" = "--force-build" ]; then if [ "$1" = "--build" ]; then
force_build=1 force_build=1
shift shift
elif [ "$1" = "--force-package" ]; then elif [ "$1" = "--package" ]; then
force_package=1 force_package=1
shift shift
fi fi