From 460083a95d0f72548c80aa3b9373efc7246a6fb7 Mon Sep 17 00:00:00 2001 From: Rezart Qelibari Date: Sun, 13 Feb 2022 21:04:34 +0100 Subject: [PATCH] Ensure docopts installation before using it --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index bb1274b..a930b85 100755 --- a/install.sh +++ b/install.sh @@ -229,6 +229,8 @@ function installModules() { } function main() { + ensureDocopts + autoloadZShLib eval "`docopts -f -V - -h - : "$@" <<- USAGE Usage: $0 [options] [-m PATH]... [...] @@ -255,8 +257,6 @@ function main() { USAGE`" local allModules=() modulesToInstall=() local -A answers - ensureDocopts - autoloadZShLib configureLogging lop debug "Called main with $# args: $@" loadModules