mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-10 15:46:17 -04:00
Exit after printing usage in rbenv-version-file-write
This commit is contained in:
parent
5be66da9f4
commit
af36d449bf
|
|
@ -5,7 +5,8 @@ RBENV_VERSION_FILE="$1"
|
|||
RBENV_VERSION="$2"
|
||||
|
||||
if [ -z "$RBENV_VERSION" ] || [ -z "$RBENV_VERSION_FILE" ]; then
|
||||
echo "usage: rbenv write-version-file filename version" >&2
|
||||
echo "usage: rbenv write-version-file FILENAME VERSION" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Make sure the specified version is installed.
|
||||
|
|
|
|||
Loading…
Reference in a new issue