1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-14 14:23:53 -05:00

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
set -e
echo "set-local has been renamed to local" >&2
rbenv-local "$@"
{ echo "rbenv: warning: \`set-local' has been renamed to \`local'"
echo " and will be removed in v0.3.0"
echo
} >&2
exec rbenv-local "$@"