aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-lib
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-11-03 15:02:10 +0000
committermerakor <cem@ckyln.com>2020-11-03 15:02:10 +0000
commita28f051f36c99ea919097d1dcc2daf7da23ed980 (patch)
treec537e6b76337a4aff9edcbc50d75116d5a287183 /src/cpt-lib
parentd4b35011ca8a4adc7df1c4e4817b725f08e2b761 (diff)
downloadcpt-a28f051f36c99ea919097d1dcc2daf7da23ed980.tar.gz
cpt-lib: fix shellcheck error
FossilOrigin-Name: ac2b03e9727ca199b8a3d27871cc5e7570137e732fb3c756aa95821ff5304555
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 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)