aboutsummaryrefslogtreecommitdiff
path: root/bin/yt
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-20 11:07:19 -0300
committerEuAndreh <eu@euandre.org>2022-10-20 11:07:20 -0300
commit7c3a0a4f09c81558918b66deeafa486234a73294 (patch)
treef7b0a320665021fd5c2d4b43026955dfeefc1ab1 /bin/yt
parentbin/cl: Handle -l option (diff)
downloaddotfiles-7c3a0a4f09c81558918b66deeafa486234a73294.tar.gz
dotfiles-7c3a0a4f09c81558918b66deeafa486234a73294.tar.xz
Fix all ShellCheck warnings
IOW, `make check-shellcheck` passes.
Diffstat (limited to 'bin/yt')
-rwxr-xr-xbin/yt3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/yt b/bin/yt
index ddcc02d..d0ff37e 100755
--- a/bin/yt
+++ b/bin/yt
@@ -100,6 +100,9 @@ if [ -z "${FORCE:-}" ]; then
EXTRA_OPTIONS="--download-archive $HOME/Downloads/yt-dl/seen.txt"
fi
+# The value of $EXTRA_OPTIONS doesn't depend on user input, and can't contain
+# spaces, unless $HOME contains spaces:
+# shellcheck disable=2086
youtube-dl \
--batch-file "$F" \
--format best \