Merge pull request #1069 from letsencrypt/verbosity

Don't find "-v" in "--version"
This commit is contained in:
bmw 2015-10-21 14:30:24 -07:00
commit 1b7081b03c

View file

@ -18,7 +18,7 @@ fi
for arg in "$@" ; do
# This first clause is redundant with the third, but hedging on portability
if [ "$arg" = "-v" ] || [ "$arg" = "--verbose" ] || echo "$arg" | grep -E -- -v+ ; then
if [ "$arg" = "-v" ] || [ "$arg" = "--verbose" ] || echo "$arg" | grep -E -- "-v+$" ; then
VERBOSE=1
fi
done