mirror of
https://github.com/Radiquum/furaffinity-dl.git
synced 2025-04-06 00:04:38 +00:00
Fix getopts handling of arguments
This commit is contained in:
parent
2cf9beb3d3
commit
6a6e17959f
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ cleanup() {
|
||||||
outdir="."
|
outdir="."
|
||||||
prefix="https:"
|
prefix="https:"
|
||||||
metadata=true
|
metadata=true
|
||||||
while getopts 'o:c:i:p:h:' flag; do
|
while getopts 'o:c:iph' flag; do
|
||||||
case "${flag}" in
|
case "${flag}" in
|
||||||
o) outdir=${OPTARG};;
|
o) outdir=${OPTARG};;
|
||||||
c) cookiefile=${OPTARG};;
|
c) cookiefile=${OPTARG};;
|
||||||
|
|
Loading…
Add table
Reference in a new issue