add handling for too many args
This commit is contained in:
1 parent
db169a4334
commit
d5b0632e4f
1 file changed
+2
@@ -119,4 +119,6 @@ if [[ $# -eq 1 ]]; then
|
||||
|
||||
run_demo
|
||||
exit 0
|
||||
else
|
||||
panic "Too many arguments!"
|
||||
fi
|
||||
Reference in new issue
Block a user