about summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
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 "$@"