From 514075a87ba9414b24302cdb61b0063e6868de75 Mon Sep 17 00:00:00 2001 From: Clemens Lang Date: Fri, 3 Jul 2015 00:34:20 +0200 Subject: [PATCH] Disable ShellCheck warnings for old getopt(1) The use of $* is according to getopt's documentation. Using $@ instead (SC2048) is explicitly discouraged by the manpage. --- google-font-download | 1 + 1 file changed, 1 insertion(+) diff --git a/google-font-download b/google-font-download index 29e844a..15199bb 100755 --- a/google-font-download +++ b/google-font-download @@ -147,6 +147,7 @@ else EOF ret=0 + # shellcheck disable=SC2048,SC2086 temp=$(getopt f:hl:o: $*) || ret=$? if [ $ret -ne 0 ]; then echo >&2