Commit 2097dded authored by Lucas Mello Schnorr's avatar Lucas Mello Schnorr

verify if URL has been provided

parent c72efaff
......@@ -58,7 +58,7 @@ MAX_PARTICLES=0
HELP=false
DOWNLOAD=false
DEFAULT=false
URL=-
URL=
# now enjoy the options in order and nicely split until we see --
while true; do
case "$1" in
......@@ -154,6 +154,11 @@ else
echo "-----------------------------------"
fi
if [[ $URL = "" ]]; then
echo "URL parameter is obligatory."
exit
usage
fi
##############################
# Download Dataset #
##############################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment