summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2019-02-19 11:44:11 +0100
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-02-19 11:41:40 +0000
commit7c7293dd644f77c788acea62fab77cd2637bb50e (patch)
tree473824b53a1703a3bd081f2c283793d3661a7fce
parentecaa922692d868d9616ae53348d8b1160ef16de8 (diff)
convert_args_to_variables: Document "==" syntax
Add a comment explaining "==arr[key] value" syntax for parameters. Change-Id: Id18bd5fc912297cd98e55161f8aa1fd30532e706
-rw-r--r--jenkins-helpers.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/jenkins-helpers.sh b/jenkins-helpers.sh
index 03c3a51a..36b7cd2f 100644
--- a/jenkins-helpers.sh
+++ b/jenkins-helpers.sh
@@ -739,6 +739,8 @@ manifest_out ()
# variables and arrays.
# "--var value" defines shell variable "$var" to "value".
# "++arr elem" defines shell array "$arr[@]" and adds "elem" to it.
+# "==arr[key] value" defines shell associative array "$arr[@]" and sets
+# "${arr[key]}" to "value".
# "@@ file" sources file.
# "%% file" starts manifest in file. Also see "^^ true".
# "^^ true/false %% manifest" whether to reproduce the build using manifest.