mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-12 05:23:47 -05:00
Exit after printing usage in rbenv-version-file-write
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user