Document the changes
This commit is contained in:
parent
7f47b3121f
commit
786d0ff19e
@ -268,8 +268,14 @@ version of Python, or install a package that provides binaries.
|
|||||||
Displays the currently active Python version, along with information on
|
Displays the currently active Python version, along with information on
|
||||||
how it was set.
|
how it was set.
|
||||||
|
|
||||||
|
Usage: pyenv version [--bare]
|
||||||
|
|
||||||
|
--bare show just the version name. An alias to `pyenv version-name'
|
||||||
|
|
||||||
$ pyenv version
|
$ pyenv version
|
||||||
2.7.6 (set by /home/yyuu/.pyenv/version)
|
2.7.6 (set by /home/yyuu/.pyenv/version)
|
||||||
|
$ pyenv version --bare
|
||||||
|
2.7.6
|
||||||
|
|
||||||
|
|
||||||
## `pyenv versions`
|
## `pyenv versions`
|
||||||
|
@ -2,9 +2,7 @@
|
|||||||
# Summary: Show the current Python version(s) and its origin
|
# Summary: Show the current Python version(s) and its origin
|
||||||
# Usage: pyenv version [--bare]
|
# Usage: pyenv version [--bare]
|
||||||
#
|
#
|
||||||
# Shows the currently selected Python version(s) and how it was
|
# --bare show just the version name. An alias to `pyenv version-name'
|
||||||
# selected. To obtain only the version string, use `pyenv version
|
|
||||||
# --bare` or `pyenv version-name'.
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
[ -n "$PYENV_DEBUG" ] && set -x
|
[ -n "$PYENV_DEBUG" ] && set -x
|
||||||
|
Loading…
x
Reference in New Issue
Block a user