diff --git a/wpull2-requeue b/wpull2-requeue index 867bab2..f20c839 100755 --- a/wpull2-requeue +++ b/wpull2-requeue @@ -48,6 +48,12 @@ then shift fi +if [[ "$1" == --* ]] +then + echo "Error: Unknown option $1" >&2 + exit 1 +fi + if [[ "${where}" ]] then where="$1"