mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-04-20 21:11:52 +02:00
Fix to error out script on invalid option.
This commit is contained in:
parent
455e906dbd
commit
41b5d35652
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user