This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
pyenv
mirror of
https://github.com/pyenv/pyenv.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
241
Wiki
Activity
Browse Source
Merge pull request
#914
from yyuu/sh-help-stderr
Help message should not be written to stdout for `sh-` commands
pull/927/head^2
Mislav Marohnić
9 years ago
committed by
GitHub
parent
c7dcaf1259
26ac59fd1d
commit
1b751261ce
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
libexec/rbenv
+ 5
- 1
libexec/rbenv
View File
@ -109,7 +109,11 @@ case "$command" in
shift 1
if [ "$1" = --help ]; then
exec rbenv-help "$command"
if [[ "$command" == "sh-"* ]]; then
echo "rbenv help \"$command\""
else
exec rbenv-help "$command"
fi
else
exec "$command_path" "$@"
fi
Write
Preview
Loading…
Cancel
Save