Document the changes

This commit is contained in:
Ivan Pozdeev 2025-05-17 16:21:24 +03:00
parent 7f47b3121f
commit 786d0ff19e
2 changed files with 7 additions and 3 deletions

View File

@ -268,8 +268,14 @@ version of Python, or install a package that provides binaries.
Displays the currently active Python version, along with information on
how it was set.
Usage: pyenv version [--bare]
--bare show just the version name. An alias to `pyenv version-name'
$ pyenv version
2.7.6 (set by /home/yyuu/.pyenv/version)
$ pyenv version --bare
2.7.6
## `pyenv versions`

View File

@ -2,9 +2,7 @@
# Summary: Show the current Python version(s) and its origin
# Usage: pyenv version [--bare]
#
# Shows the currently selected Python version(s) and how it was
# selected. To obtain only the version string, use `pyenv version
# --bare` or `pyenv version-name'.
# --bare show just the version name. An alias to `pyenv version-name'
set -e
[ -n "$PYENV_DEBUG" ] && set -x