1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-12 05:23:47 -05:00

import rbenv-help from rbenv 0.4.0

This commit is contained in:
Yamashita Yuu
2013-01-18 17:41:41 +09:00
parent f466679bd1
commit da06998457
24 changed files with 271 additions and 88 deletions

View File

@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Usage: pyenv version-file-write <file> <version>
set -e
[ -n "$PYENV_DEBUG" ] && set -x
@@ -7,7 +9,7 @@ shift
versions=("$@")
if [ -z "$versions" ] || [ -z "$PYENV_VERSION_FILE" ]; then
echo "usage: pyenv write-version-file FILENAME VERSIONS..." >&2
pyenv-help --usage version-file-write >&2
exit 1
fi