From e68a394e33649822ffe2f339db03991fcac5db0c Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Thu, 15 Dec 2022 11:10:42 +0100 Subject: [PATCH] sequencer - fix missing getops argument --- sequencer.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sequencer.sh b/sequencer.sh index 27cf72d..005595e 100755 --- a/sequencer.sh +++ b/sequencer.sh @@ -417,7 +417,7 @@ USAGE_API newline='\n' fi - while getopts "aden" arg; do + while getopts "aden" arg ; do case "${arg}" in a) appendText=1 ;; d) direct=1 ;; @@ -606,7 +606,7 @@ confirm() { local force=0 local arg - while getopts "fny" arg; do + while getopts "fny" arg ; do case "${arg}" in f) force=1 ;; n) noHelp=1 ;; @@ -648,7 +648,7 @@ ask() { local empty=0 local arg - while getopts "fny" arg; do + while getopts "fny" arg ; do case "${arg}" in e) empty=1 ;; s) hidden="-s" ;; @@ -782,7 +782,7 @@ addConf() { local confMode="" local transferCmd="echo" - while getopts "acfms" ; do + while getopts "acfms" arg ; do case "${arg}" in c) # create a new file addConfMultiError "${confMode}" && confMode="-c" ;; @@ -987,7 +987,7 @@ displayHelp() { local loopEnd="${_sqr_stepMax}" _sqr_contextHelp=1 - while getopts "st" arg; do + while getopts "st" arg ; do case "${arg}" in s) fullHelp=0 ;; t) createTemplate=1 ;;