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
|
# Let's get the URL first
|
||||||
if [ "$1" == "" ]; then
|
if [ "$1" == "" ]; then
|
||||||
echo "No url given!" >&2
|
echo "No url given!" >&2
|
||||||
|
echo "Usage: $0 URL RATELIMIT [USER PASSWORD]" >&2
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
PARAM_URL="'$1'"
|
PARAM_URL="'$1'"
|
||||||
|
|
Loading…
Reference in New Issue