Browse Source

Error on unknown options

master
JustAnotherArchivist 2 years ago
parent
commit
df7b25c2db
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      wpull2-requeue

+ 6
- 0
wpull2-requeue View File

@@ -48,6 +48,12 @@ then
shift
fi

if [[ "$1" == --* ]]
then
echo "Error: Unknown option $1" >&2
exit 1
fi

if [[ "${where}" ]]
then
where="$1"


Loading…
Cancel
Save