contrib/msearch: -- handling is builtin

pull/147/head
Leah Neukirchen 6 years ago
parent 67e0beb56b
commit c04d2edd08

@ -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))

Loading…
Cancel
Save