about summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/msearch5
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/msearch b/contrib/msearch
index 6272512..f231ead 100755
--- a/contrib/msearch
+++ b/contrib/msearch
@@ -3,7 +3,7 @@
 MBLAZE=${MBLAZE:-$HOME/.mblaze}
 engine=$(mhdr -h search-engine "$MBLAZE/profile")
 
-while getopts nmx- opt; do
+while getopts nmx opt; do
     case $opt in
 	n)
 	    engine=notmuch
@@ -18,9 +18,6 @@ while getopts nmx- opt; do
 	    printf "Usage: %s: [-n | -m | -x] query\n" $0
 	    exit 1
 	    ;;
-	-)
-	    break
-	    ;;
     esac
 done
 shift $(($OPTIND - 1))