update: escape ? in the help flag list
Otherwise it will match any character
This commit is contained in:
parent
3b40dcedf8
commit
67944c2f2d
@ -234,7 +234,7 @@ homebrew-update() {
|
|||||||
for option in "$@"
|
for option in "$@"
|
||||||
do
|
do
|
||||||
case "$option" in
|
case "$option" in
|
||||||
-?|-h|--help|--usage) brew help update; exit $? ;;
|
-\?|-h|--help|--usage) brew help update; exit $? ;;
|
||||||
--verbose) HOMEBREW_VERBOSE=1 ;;
|
--verbose) HOMEBREW_VERBOSE=1 ;;
|
||||||
--debug) HOMEBREW_DEBUG=1;;
|
--debug) HOMEBREW_DEBUG=1;;
|
||||||
--merge) HOMEBREW_MERGE=1 ;;
|
--merge) HOMEBREW_MERGE=1 ;;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user