Skip to content

Commit c6786b9

Browse files
committed
Simplify error response
1 parent 3362a98 commit c6786b9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

bin/pyenv-users

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ if [[ "${#ARGUMENTS[@]}" == 0 ]]; then
5454
elif [[ "${#ARGUMENTS[@]}" == 1 ]]; then
5555
DIR="${ARGUMENTS[0]}"
5656
else
57-
echo -e "\nToo many directory arguments.\n"
58-
pyenv help users
57+
echo "pyenv-users: too many directory arguments"
5958
exit 1
6059
fi
6160

0 commit comments

Comments
 (0)