Add modern Babeltrace man pages
[babeltrace.git] / doc / man / common-cmd-params-format.txt
CommitLineData
0659f3af
PP
1[[params-fmt]]
2Parameters format
3~~~~~~~~~~~~~~~~~
4The format of the 'PARAMS' option's argument is a comma-separated
5list of `NAME=VALUE` assignments:
6
7[verse]
8'NAME'='VALUE'[,'NAME'='VALUE']...
9
10'NAME'::
11 Parameter name (C{nbsp}identifier plus the `:`, `.`, and `-` characters).
12
13'VALUE'::
14 One of:
15+
16--
17* `null`, `nul`, `NULL`: null value.
18
19* `true`, `TRUE`, `yes`, `YES`: true boolean value.
20
21* `false`, `FALSE`, `no`, `NO`: false boolean value.
22
23* Binary (`0b` prefix), octal (`0` prefix), decimal, or hexadecimal
24 (`0x` prefix) signed 64-bit integer.
25
26* Double precision floating point number (scientific notation is
27 accepted).
28
29* Unquoted string with no special characters, and not matching any of
30 the null and boolean value symbols above.
31
32* Double-quoted string (accepts escape characters).
33
34You may put whitespaces around the individual `=` (assignment) and `,`
35(separator) characters.
36--
37
38Example:
39
40----
41babeltrace ... --params='many=null, fresh=yes, condition=false,
42 squirrel=-782329, observe=3.14,
43 simple=beef, needs-quotes="some string",
44 escape.chars-are:allowed="a \" quote"'
45----
46
47IMPORTANT: Like in the example above, make sure to single-quote the
48whole argument when you run this command from a shell.
This page took 0.024323 seconds and 4 git commands to generate.