Explorar o código

add handling for too many args

Colin Davidson %!s(int64=3) %!d(string=hai) anos
pai
achega
d5b0632e4f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      build_odin.sh

+ 2 - 0
build_odin.sh

@@ -119,4 +119,6 @@ if [[ $# -eq 1 ]]; then
 
 	run_demo
 	exit 0
+else
+	panic "Too many arguments!"
 fi