mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Exit after printing usage in rbenv-version-file-write
This commit is contained in:
parent
5be66da9f4
commit
af36d449bf
1 changed files with 2 additions and 1 deletions
|
@ -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