Fix getopts handling of arguments

This commit is contained in:
Xerbo 2019-07-24 11:57:12 +01:00
parent 2cf9beb3d3
commit 6a6e17959f

View file

@ -48,7 +48,7 @@ cleanup() {
outdir="."
prefix="https:"
metadata=true
while getopts 'o:c:i:p:h:' flag; do
while getopts 'o:c:iph' flag; do
case "${flag}" in
o) outdir=${OPTARG};;
c) cookiefile=${OPTARG};;