Fix xml2-config error code

Return an error code if called with an unknown option.
This commit is contained in:
Nick Wellnhofer 2019-11-11 11:29:17 +01:00
parent d5f2f74d0f
commit 2a357ab99e

View File

@ -97,8 +97,7 @@ while test $# -gt 0; do
;;
*)
usage
exit 1
usage 1
;;
esac
shift