mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-07-31 08:10:38 +02:00
Fix to error out script on invalid option.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user