From c04d2edd08bfb442068a6956f0a1e52d9d70c9cb Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 27 Sep 2018 14:08:48 +0200 Subject: contrib/msearch: -- handling is builtin --- contrib/msearch | 5 +---- 1 file changed, 1 insertion(+), 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)) -- cgit 1.4.1