mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-12 05:23:47 -05:00
explicit --version flag
Without it, it falls back to `--version` being executed as a subcommand, which works but isn't obvious
This commit is contained in:
@@ -97,7 +97,7 @@ case "$command" in
|
|||||||
} >&2
|
} >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
-v )
|
-v | --version )
|
||||||
exec rbenv---version
|
exec rbenv---version
|
||||||
;;
|
;;
|
||||||
-h | --help )
|
-h | --help )
|
||||||
|
|||||||
Reference in New Issue
Block a user