From dc73cc76c2639aebb14aa945c140a4fc65462ca8 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Tue, 4 Apr 2017 22:13:10 +0200 Subject: [PATCH] Add error message to rwget --- bin/rwget | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/rwget b/bin/rwget index f495f00..807ff4b 100755 --- a/bin/rwget +++ b/bin/rwget @@ -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'"