Improve deprecation notice

This commit is contained in:
Sam Stephenson 2011-08-18 14:09:48 -05:00
parent 20425c297f
commit 1d5c6531a2
2 changed files with 12 additions and 4 deletions

View file

@ -1,5 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
echo "set-default has been renamed to default" >&2 { echo "rbenv: warning: \`set-default' has been renamed to \`default'"
rbenv-default "$@" echo " and will be removed in v0.3.0"
echo
} >&2
exec rbenv-default "$@"

View file

@ -1,5 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
echo "set-local has been renamed to local" >&2 { echo "rbenv: warning: \`set-local' has been renamed to \`local'"
rbenv-local "$@" echo " and will be removed in v0.3.0"
echo
} >&2
exec rbenv-local "$@"