Skip to content
Snippets Groups Projects
Commit 5879bb74 authored by Peter Cai's avatar Peter Cai
Browse files

Exit on unknown options

parent 69f14680
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,8 @@ while [[ $# -gt 0 ]]; do ...@@ -37,7 +37,8 @@ while [[ $# -gt 0 ]]; do
shift shift
;; ;;
*) *)
break echo "Unknown option $1"
exit 1
;; ;;
esac esac
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment