mirror of
https://github.com/rbenv/ruby-build.git
synced 2024-12-28 04:35:14 +01:00
Remove --force- prefix
This commit is contained in:
parent
e9129e5a34
commit
4d8999e9d1
1 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ abs_dirname() {
|
|||
}
|
||||
|
||||
usage() {
|
||||
{ echo "usage: rbenv install [--force-build | --force-package] VERSION"
|
||||
{ echo "usage: rbenv install [--build | --package] VERSION"
|
||||
echo " rbenv install /path/to/definition"
|
||||
echo
|
||||
echo "Available versions:"
|
||||
|
@ -41,10 +41,10 @@ fi
|
|||
|
||||
force_build=""
|
||||
force_package=""
|
||||
if [ "$1" = "--force-build" ]; then
|
||||
if [ "$1" = "--build" ]; then
|
||||
force_build=1
|
||||
shift
|
||||
elif [ "$1" = "--force-package" ]; then
|
||||
elif [ "$1" = "--package" ]; then
|
||||
force_package=1
|
||||
shift
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue