From 6a6e17959f586eb0e927d1e0fc0971e1e6866866 Mon Sep 17 00:00:00 2001 From: Xerbo Date: Wed, 24 Jul 2019 11:57:12 +0100 Subject: [PATCH] Fix getopts handling of arguments --- furaffinity-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/furaffinity-dl b/furaffinity-dl index 1497f33..da3fe13 100755 --- a/furaffinity-dl +++ b/furaffinity-dl @@ -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};;