From a28f051f36c99ea919097d1dcc2daf7da23ed980 Mon Sep 17 00:00:00 2001 From: merakor Date: Tue, 3 Nov 2020 15:02:10 +0000 Subject: cpt-lib: fix shellcheck error FossilOrigin-Name: ac2b03e9727ca199b8a3d27871cc5e7570137e732fb3c756aa95821ff5304555 --- src/cpt-lib | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/cpt-lib b/src/cpt-lib index 4f182ba..aba33ec 100644 --- a/src/cpt-lib +++ b/src/cpt-lib @@ -230,6 +230,8 @@ getoptions() { _1 'exit 1' _0 '}' + # This throws an error on older versions of shellcheck. + # shellcheck disable=2086 [ ! "$_help" ] || eval "shift 2; getoptions_help $1 $_help" ${3+'"$@"'} } # URL: https://github.com/ko1nksm/getoptions (v2.0.1) -- cgit v1.2.3