sequencer - fix missing getops argument
This commit is contained in:
10
sequencer.sh
10
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 ;;
|
||||
|
Reference in New Issue
Block a user