From 85a95118d4427f9d49a227f91f379be5bec385e3 Mon Sep 17 00:00:00 2001 From: merakor Date: Tue, 3 Nov 2020 15:08:19 +0000 Subject: cpt-lib: fix shellcheck error FossilOrigin-Name: 9b88780f4576b44b7578dd7758f8c2a967d11ff6a86566c08dd5b4ccf04f2309 --- src/cpt-lib | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cpt-lib b/src/cpt-lib index f69aca1..a9522e8 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