mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-02-19 10:09:39 +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 ;;
|
-f ) FORCED=$opt ;;
|
||||||
-i ) IMGGEN=$opt ;;
|
-i ) IMGGEN=$opt ;;
|
||||||
-d ) DISPMD=$opt ;;
|
-d ) DISPMD=$opt ;;
|
||||||
|
-* ) echo "Unknown option $opt"; exit -1 ;;
|
||||||
* ) FILES="$FILES $opt" ;;
|
* ) FILES="$FILES $opt" ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue