From 7c3a0a4f09c81558918b66deeafa486234a73294 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 20 Oct 2022 11:07:19 -0300 Subject: Fix all ShellCheck warnings IOW, `make check-shellcheck` passes. --- bin/yt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/yt') 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 \ -- cgit v1.2.3