aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-lib
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-11-03 15:08:19 +0000
committermerakor <cem@ckyln.com>2020-11-03 15:08:19 +0000
commit85a95118d4427f9d49a227f91f379be5bec385e3 (patch)
tree25b0ca55bab2d8b251e00835c68965a981df7549 /src/cpt-lib
parent76dd7e5a7cd0ea088f7d9d857b7ad6a84a03b611 (diff)
downloadcpt-85a95118d4427f9d49a227f91f379be5bec385e3.tar.gz
cpt-lib: fix shellcheck error
FossilOrigin-Name: 9b88780f4576b44b7578dd7758f8c2a967d11ff6a86566c08dd5b4ccf04f2309
Diffstat (limited to 'src/cpt-lib')
-rw-r--r--src/cpt-lib2
1 files changed, 2 insertions, 0 deletions
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)