X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Ftable.man;h=a8f10946594f7059723c779d048331a2e1ade3e0;hb=0ef165ecb57943e17a8ee8270df68ffb8d032e29;hp=8be272aa094fc67703400b5a494a7b119f9f7352;hpb=3a3eb9daef012e58d6604a6fc726a5115b25945f;p=sliver-openvswitch.git diff --git a/lib/table.man b/lib/table.man index 8be272aa0..a8f109465 100644 --- a/lib/table.man +++ b/lib/table.man @@ -3,11 +3,15 @@ Sets the type of table formatting. The following types of \fIformat\fR are available: .RS -.IP "\fBtable\fR (default)" -Text-based tables with aligned columns. +.ie '\*(PN'ovs\-vsctl' .IP "\fBtable\fR" +.el .IP "\fBtable\fR (default)" +2-D text tables with aligned columns. +.ie '\*(PN'ovs\-vsctl' .IP "\fBlist\fR (default)" +.el .IP "\fBlist\fR" +A list with one column per line and rows separated by a blank line. .IP "\fBhtml\fR" HTML tables. -.IP "\fBcvs\fR" +.IP "\fBcsv\fR" Comma-separated values as defined in RFC 4180. .IP "\fBjson\fR" JSON format as defined in RFC 4627. The output is a sequence of JSON @@ -31,12 +35,19 @@ as text strings. .RE . .IP "\fB\-d \fIformat\fR" -.IP "\fB\-\-data=\fIformat\fR" +.IQ "\fB\-\-data=\fIformat\fR" Sets the formatting for cells within output tables. The following types of \fIformat\fR are available: .RS .IP "\fBstring\fR (default)" -The simple format described in \fBovs\-vsctl\fR(8). +The simple format described in the \fBDatabase Values\fR +.ie '\*(PN'ovs\-vsctl' section below. +.el section of \fBovs\-vsctl\fR(8). +.IP "\fBbare\fR" +The simple format with punctuation stripped off: \fB[]\fR and \fB{}\fR +are omitted around sets, maps, and empty columns, items within sets +and maps are space-separated, and strings are never quoted. This +format may be easier for scripts to parse. .IP "\fBjson\fR" JSON. .RE @@ -56,3 +67,5 @@ per line, with indentation. .IP This option does not affect JSON in tables, which is always printed compactly. +.IP "\fB\-\-bare\fR" +Equivalent to \fB\-\-format=list \-\-data=bare \-\-no\-headings\fR.