help for versions and commands, including their options

This commit is contained in:
Gabriel Horner 2012-03-23 16:21:53 -04:00
parent 975b45dbfe
commit d3700dfd70

View file

@ -34,6 +34,12 @@ Some useful rbenv commands are:
See 'rbenv help <command>' for information on a specific command.
For full documentation, see: https://github.com/sstephenson/rbenv#readme"
;;
commands) echo "usage: rbenv commands
rbenv commands --sh
rbenv commands --no-sh
List all rbenv commands."
;;
global) echo "usage: rbenv global <version>
Sets the global Ruby version. You can override the global version at
@ -65,6 +71,11 @@ project-specific versions and the global version.
$(print_set_version)"
;;
versions) echo "usage: rbenv versions
rbenv versions --bare
Lists all Ruby versions known by rbenv."
;;
which) echo "usage: rbenv which <command>
Displays the full path to the binary that rbenv will execute when you