Skip to content

Commit a182fe5

Browse files
committed
Update Examples/eg007EnvelopeGetDoc.sh
1 parent 35a0566 commit a182fe5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Examples/eg007EnvelopeGetDoc.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,32 @@ envelope_id=`cat ../ENVELOPE_ID`
2020

2121
doc_choice=1
2222
output_file_extension=pdf
23+
echo ""
2324
PS3='Select a document or document set to download: '
2425
options=("Documents combined together" "ZIP file" "Document 1" "Document 2" "Document 3")
2526
select opt in "${options[@]}"
2627
do
2728
case $opt in
2829
"Documents combined together")
2930
doc_choice=combined
31+
break
3032
;;
3133
"ZIP file")
3234
doc_choice=archive
3335
output_file_extension=zip
36+
break
3437
;;
3538
"Document 1")
3639
doc_choice=1
40+
break
3741
;;
3842
"Document 2")
3943
doc_choice=2
44+
break
4045
;;
4146
"Document 3")
4247
doc_choice=3
48+
break
4349
;;
4450
esac
4551
done

0 commit comments

Comments
 (0)