catalyst-auto: reject unknown command line arguments

This commit is contained in:
Mike Frysinger 2016-12-08 23:38:18 -05:00
parent d56243723a
commit 6fd55163c0

View file

@ -148,6 +148,10 @@ do
usage "ERROR: You have specified an invalid option: ${a}"
exit 1
;;
*)
usage "ERROR: This script takes no arguments: ${a}"
exit 1
;;
esac
done