X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=doc%2Fman%2Fcommon-cmd-params-format.txt;h=c8cefc0e8cd00db728eeda592387a6631e235dd9;hb=c1f82f3b94e856988cd73ac452a0e5655726eefb;hp=c3ee8d4fe7e0846bedcbc1384752655035eb1985;hpb=838dd456cec2f2d4eac1c053dc66b978867f1005;p=babeltrace.git diff --git a/doc/man/common-cmd-params-format.txt b/doc/man/common-cmd-params-format.txt index c3ee8d4f..c8cefc0e 100644 --- a/doc/man/common-cmd-params-format.txt +++ b/doc/man/common-cmd-params-format.txt @@ -21,7 +21,7 @@ list of `NAME=VALUE` assignments: * `false`, `FALSE`, `no`, `NO`: false boolean value. * Binary (`0b` prefix), octal (`0` prefix), decimal, or hexadecimal - (`0x` prefix) signed 64-bit integer. + (`0x` prefix) unsigned (with `+` prefix) or signed 64-bit integer. * Double precision floating point number (scientific notation is accepted). @@ -31,6 +31,9 @@ list of `NAME=VALUE` assignments: * Double-quoted string (accepts escape characters). +* Array, formatted as an opening `[`, a list of comma-separated values + (as described by the current list) and a closing `]`. + You may put whitespaces around the individual `=` (assignment) and `,` (separator) characters. -- @@ -38,10 +41,11 @@ You may put whitespaces around the individual `=` (assignment) and `,` Example: ---- -babeltrace ... --params='many=null, fresh=yes, condition=false, - squirrel=-782329, observe=3.14, +babeltrace2 ... --params='many=null, fresh=yes, condition=false, + squirrel=-782329, play=+23, observe=3.14, simple=beef, needs-quotes="some string", - escape.chars-are:allowed="a \" quote"' + escape.chars-are:allowed="a \" quote", + things=[1, "2", 3]' ---- IMPORTANT: Like in the example above, make sure to single-quote the