Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/user-guide/task-templates/survey-vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ Survey variables are passed to the Bash script as command-line arguments:
You can use following code inside the script to parse the arguments to array:

```bash
declare -A args
for arg in "$@"; do
KEY="${arg%%=*}"
VALUE="${arg#*=}"
declare -A args
args["$KEY"]="$VALUE"
done

Expand Down