]> granicus.if.org Git - icinga2/commitdiff
Extend 09-object-types.md with argument array 6690/head
authorJack <jackdev@mailbox.org>
Tue, 16 Oct 2018 09:40:00 +0000 (11:40 +0200)
committerGitHub <noreply@github.com>
Tue, 16 Oct 2018 09:40:00 +0000 (11:40 +0200)
Add a small snippet demonstrating how to define an argument array instead of a simple string.

doc/09-object-types.md

index e602047499a0bbd1fbbe957db557ae0f4ec7f59b..bd6572c15f79a043af3459f28ee3bbd61e862e6b 100644 (file)
@@ -230,6 +230,12 @@ Argument order:
 ..., -3, -2, -1, <un-ordered keys>, 1, 2, 3, ...
 ```
 
+Define argument array:
+
+```
+value = "[ 'one', 'two', 'three' ]"
+```
+
 Argument array with `repeat_key = true`:
 
 ```