Commit 4d8999e9 by Sam Stephenson

Remove --force- prefix

parent e9129e5a
...@@ -21,7 +21,7 @@ abs_dirname() { ...@@ -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 ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment