mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
Improve deprecation notice
This commit is contained in:
parent
20425c297f
commit
1d5c6531a2
2 changed files with 12 additions and 4 deletions
|
@ -1,5 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
echo "set-default has been renamed to default" >&2
|
||||
rbenv-default "$@"
|
||||
{ echo "rbenv: warning: \`set-default' has been renamed to \`default'"
|
||||
echo " and will be removed in v0.3.0"
|
||||
echo
|
||||
} >&2
|
||||
|
||||
exec rbenv-default "$@"
|
||||
|
|
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in a new issue