mirror of
https://github.com/rbenv/ruby-build.git
synced 2024-12-29 13:15:33 +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() {
|
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
|
||||||
|
|
Loading…
Reference in a new issue