mirror of https://github.com/CGAL/cgal
Fix the script cgal_create_cmake_script:
- one can use it with 0 or 1 argument. - If one argument is used, it *must* be "-q" and nothing else.
This commit is contained in:
parent
aecb9992cd
commit
d454027d30
|
|
@ -130,7 +130,9 @@ usage()
|
|||
|
||||
|
||||
case $# in
|
||||
0) usage
|
||||
0) ;;
|
||||
1) ;;
|
||||
*) usage
|
||||
exit 1
|
||||
esac
|
||||
|
||||
|
|
@ -138,7 +140,7 @@ esac
|
|||
for i do
|
||||
case $i in
|
||||
-q) QT='y';;
|
||||
-*) usage
|
||||
*) usage
|
||||
exit 1;;
|
||||
esac
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in New Issue