Fix to error out script on invalid option.

This commit is contained in:
Revar Desmera 2019-07-30 12:50:56 -07:00
parent 455e906dbd
commit 41b5d35652

View file

@ -9,6 +9,7 @@ for opt in "$@" ; do
-f ) FORCED=$opt ;;
-i ) IMGGEN=$opt ;;
-d ) DISPMD=$opt ;;
-* ) echo "Unknown option $opt"; exit -1 ;;
* ) FILES="$FILES $opt" ;;
esac
done