1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-16 23:33:45 -05:00

Add --bare option to pyenv version (#2783)

This commit is contained in:
Jesse Wattenbarger
2025-05-17 11:23:25 -04:00
committed by GitHub
parent 90fa430eca
commit 018ca73444
3 changed files with 36 additions and 4 deletions

View File

@@ -272,8 +272,15 @@ 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`