From d2dfe8bd308acbb3cde67c258baa4c4818cede9f Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 27 Sep 2018 14:10:11 +0200 Subject: contrib/msearch: errors to stderr --- contrib/msearch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/msearch b/contrib/msearch index f231ead..f2fba84 100755 --- a/contrib/msearch +++ b/contrib/msearch @@ -15,7 +15,7 @@ while getopts nmx opt; do engine=mairix ;; '?') - printf "Usage: %s: [-n | -m | -x] query\n" $0 + printf "Usage: %s: [-n | -m | -x] query\n" "$0" 1>&2 exit 1 ;; esac @@ -33,7 +33,7 @@ case $engine in ;; mairix) if [ "$#" -eq 0 ]; then - printf "Usage: %s -x query\n" $0 + printf "Usage: %s -x query\n" "$0" 1>&2 exit 1 fi exec mairix -r "$@" -- cgit 1.4.1