diff --git a/sequencer.sh b/sequencer.sh index 9834949..62b5df8 100755 --- a/sequencer.sh +++ b/sequencer.sh @@ -667,8 +667,8 @@ ask() { while getopts "fny" arg; do case "${arg}" in - -e) empty=1 ;; - -s) hidden="-s" ;; + e) empty=1 ;; + s) hidden="-s" ;; *) ;; esac done @@ -801,15 +801,15 @@ addConf() { while getopts "acfms" ; do case "${arg}" in - -c) # create a new file + c) # create a new file addConfMultiError "${confMode}" && confMode="-c" ;; - -a) # append to existing file + a) # append to existing file addConfMultiError "${confMode}" && confMode="-a" ;; - -s) # skip if CONFIGFILE exists + s) # skip if CONFIGFILE exists addConfMultiError "${confMode}" && confMode="-s" ;; - -m) # only add content to missing conf and warn user + m) # only add content to missing conf and warn user addConfMultiError "${confMode}" && confMode="-m" ;; - -f) # choose if source is a file or text + f) # choose if source is a file or text transferCmd="cat" ;; *) ;; esac @@ -1166,9 +1166,9 @@ initSeqConfig() { while getopts "ept" arg ; do case "${arg}" in - -e) createEmpty=1 ;; - -p) seqProfiles=1 ;; - -t) sourceAlways=1 ;; + e) createEmpty=1 ;; + p) seqProfiles=1 ;; + t) sourceAlways=1 ;; *) ;; esac done