aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2012-02-26 20:07:36 +0100
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2012-02-26 20:07:36 +0100
commit0d3de45f023040a06651d72effd1cc0a56a50c9d (patch)
tree774449bde13b19abe3fce199216322cc44fc9e52
parent9e222c3d09001413dac2fb8a659c6fc378caea0f (diff)
downloadponysay-0d3de45f023040a06651d72effd1cc0a56a50c9d.tar.gz
ponysay-0d3de45f023040a06651d72effd1cc0a56a50c9d.tar.bz2
ponysay-0d3de45f023040a06651d72effd1cc0a56a50c9d.zip
Usage on error should go to STDERR
-rwxr-xr-xponysay2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponysay b/ponysay
index 9b7c2a7..1fcecad 100755
--- a/ponysay
+++ b/ponysay
@@ -30,7 +30,7 @@ do
v) version; exit ;;
h) usage; exit ;;
f) pony=$OPTARG ;;
- \?) usage; exit 1 ;;
+ \?) usage >&2; exit 1 ;;
esac
done