about summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-09-27 14:10:11 +0200
committerLeah Neukirchen <leah@vuxu.org>2018-09-27 14:10:35 +0200
commitd2dfe8bd308acbb3cde67c258baa4c4818cede9f (patch)
tree64b832691422778cb5ab42039ad8614c028593fc /contrib
parentc04d2edd08bfb442068a6956f0a1e52d9d70c9cb (diff)
downloadmblaze-d2dfe8bd308acbb3cde67c258baa4c4818cede9f.tar.gz
mblaze-d2dfe8bd308acbb3cde67c258baa4c4818cede9f.tar.xz
mblaze-d2dfe8bd308acbb3cde67c258baa4c4818cede9f.zip
contrib/msearch: errors to stderr
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/msearch4
1 files changed, 2 insertions, 2 deletions
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 "$@"