1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-14 22:33:52 -05:00

import pyenv---version from rbenv

This commit is contained in:
Yamashita Yuu
2013-01-17 23:17:41 +09:00
parent 4a217a0cd1
commit f466679bd1
2 changed files with 25 additions and 1 deletions

View File

@@ -60,7 +60,10 @@ shopt -u nullglob
command="$1"
case "$command" in
"" | "-h" | "--help" )
echo -e "pyenv 0.1.3git\n$(pyenv-help)" >&2
echo -e "$(pyenv---version)\n$(pyenv-help)" >&2
;;
"-v" )
exec pyenv---version
;;
* )
command_path="$(command -v "pyenv-$command" || true)"