mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -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
|
#!/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 "$@"
|
||||||
|
|
|
@ -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 "$@"
|
||||||
|
|
Loading…
Reference in a new issue