Usage on error should go to STDERR

This commit is contained in:
Jan Alexander Steffens (heftig) 2012-02-26 20:07:36 +01:00
parent 9e222c3d09
commit 0d3de45f02

View file

@ -30,7 +30,7 @@ do
v) version; exit ;; v) version; exit ;;
h) usage; exit ;; h) usage; exit ;;
f) pony=$OPTARG ;; f) pony=$OPTARG ;;
\?) usage; exit 1 ;; \?) usage >&2; exit 1 ;;
esac esac
done done