mirror of
https://github.com/gosticks/brew.git
synced 2026-10-05 06:58:04 +00:00
update: escape ? in the help flag list
Otherwise it will match any character
This commit is contained in:
@@ -234,7 +234,7 @@ homebrew-update() {
|
||||
for option in "$@"
|
||||
do
|
||||
case "$option" in
|
||||
-?|-h|--help|--usage) brew help update; exit $? ;;
|
||||
-\?|-h|--help|--usage) brew help update; exit $? ;;
|
||||
--verbose) HOMEBREW_VERBOSE=1 ;;
|
||||
--debug) HOMEBREW_DEBUG=1;;
|
||||
--merge) HOMEBREW_MERGE=1 ;;
|
||||
|
||||
Reference in New Issue
Block a user