Add error message to rwget

This commit is contained in:
Jan Philipp Timme 2017-04-04 22:13:10 +02:00
parent 484af4392b
commit dc73cc76c2
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ BASE_CMD="wget -r -c --no-host-directories --no-parent --reject='index.html*'"
# Let's get the URL first
if [ "$1" == "" ]; then
echo "No url given!" >&2
echo "Usage: $0 URL RATELIMIT [USER PASSWORD]" >&2
exit 1
else
PARAM_URL="'$1'"