Просмотр исходного кода

Merge pull request #203 from cldwalker/options_help

help for versions and commands, including their options
pull/360/head^2
Sam Stephenson 12 лет назад
Родитель
Сommit
e5c64db280
1 измененных файлов: 11 добавлений и 0 удалений
  1. +11
    -0
      libexec/rbenv-help

+ 11
- 0
libexec/rbenv-help Просмотреть файл

@ -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

Загрузка…
Отмена
Сохранить