diff --git a/Options-AsVar_whiptail.sh b/Options-AsVar_whiptail.sh new file mode 100644 index 0000000..cec8745 --- /dev/null +++ b/Options-AsVar_whiptail.sh @@ -0,0 +1,4 @@ +args=("Option 1:" "Option 1 Desription" OFF) +args+=("Option 2: " "Option 2 Desription" OFF) +args+=("Option 3: " "Option 3 Desription" OFF) +option=$(whiptail --nocancel --title "Title" --checklist "Features" 11 110 5 "${args[@]}" 3>&1 1>&2 2>&3)