mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-30 00:09:37 +00:00
Fix to error out script on invalid option.
This commit is contained in:
parent
455e906dbd
commit
41b5d35652
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue