This commit is contained in:
teldra 2022-02-07 04:01:58 +01:00
parent 92e255f77d
commit 9b1fe24f3d
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ multiplechoice() {
local input=("${@}")
#for i in $(seq 1 "$(( ${#input[@]} - 1 ))"); do
for i in $(seq 0 "${#input[@]}"); do
if [[ "${i}" == "1" ]]; then
if [[ "${i}" == "0" ]]; then
choices="${input[$i]}"
use="${input[$i]}"
else