Skip to content

Commit

Permalink
Merge pull request rbenv#203 from cldwalker/options_help
Browse files Browse the repository at this point in the history
help for versions and commands, including their options
  • Loading branch information
sstephenson committed Mar 23, 2012
2 parents 975b45d + d3700df commit e5c64db
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions libexec/rbenv-help
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e5c64db

Please sign in to comment.