diff options
Diffstat (limited to 'contrib/bsddialog/examples_utility/checklist.sh')
-rwxr-xr-x | contrib/bsddialog/examples_utility/checklist.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/bsddialog/examples_utility/checklist.sh b/contrib/bsddialog/examples_utility/checklist.sh index fefabc282c80..7ff525cf765d 100755 --- a/contrib/bsddialog/examples_utility/checklist.sh +++ b/contrib/bsddialog/examples_utility/checklist.sh @@ -15,11 +15,11 @@ : ${BSDDIALOG_ESC=5} ITEMS=$(./bsddialog --title " checklist " --checklist "Hello World!" 15 30 5 \ - "Tag 1" "DESC 1 xyz" on \ - "Tag 2" "DESC 2 xyz" off \ - "Tag 3" "DESC 3 xyz" on \ - "Tag 4" "DESC 4 xyz" off \ - "Tag 5" "DESC 5 xyz" on \ + "1 Name" "DESC 1 xyz" on \ + "2 Name" "DESC 2 xyz" off \ + "3 Name" "DESC 3 xyz" on \ + "4 Name" "DESC 4 xyz" off \ + "5 Name" "DESC 5 xyz" on \ 3>&1 1>&2 2>&3 3>&-) case $? in @@ -27,12 +27,12 @@ case $? in exit 1 ;; $BSDDIALOG_ESC ) - echo "[ESC] focus: $ITEMS" + echo "[ESC]" ;; $BSDDIALOG_CANCEL ) - echo "[Cancel] focus: $ITEMS" + echo "[Cancel]" ;; $BSDDIALOG_OK ) - echo "[OK] Selected: $ITEMS" + echo "[OK] $ITEMS" ;; esac |