1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-13 22:03:52 -05:00

Add rbenv help --usage

This commit is contained in:
Sam Stephenson
2012-12-29 12:12:47 -06:00
parent 4c19dc22d7
commit e2e474c59d
3 changed files with 23 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ RBENV_VERSION="$(rbenv-version-name)"
RBENV_COMMAND="$1"
if [ -z "$RBENV_COMMAND" ]; then
rbenv-help which | head -1 >&2
rbenv-help --usage which >&2
exit 1
fi