A filename bug fix

This commit is contained in:
Eric Torres 2018-09-15 12:50:45 -07:00
parent b7c67fe2bc
commit 058db44db0

View File

@ -155,6 +155,8 @@ elif [[ "${batchfile}" && -z "${filename}" ]]; then
elif [[ "${batchfile}" && "${filename}" ]]; then
printf '%s\n' "Cannot pass '--batch-dl' and '--filename' together, ignoring"
opts+=("${default_filename}")
else
opts+=("${default_filename}")
fi
if [[ "${batchfile}" ]]; then