Call getUsage after checking prerequisites in lib
This commit is contained in:
@@ -37,7 +37,7 @@ function showQuestions() {
|
||||
function module_main() {
|
||||
autoloadZShLib || return
|
||||
checkPrerequisites || return
|
||||
eval "`docopts -f -V - -h - : "$@"`"
|
||||
eval "`getUsage | docopts -f -V - -h - : "$@"`"
|
||||
[ $# -le 1 ] && return
|
||||
configureLogging
|
||||
[ "${show_questions}" = true ] && { showQuestions; return }
|
||||
|
||||
Reference in New Issue
Block a user