Add error message to rwget
This commit is contained in:
parent
484af4392b
commit
dc73cc76c2
@ -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'"
|
||||
|
Loading…
x
Reference in New Issue
Block a user