diff options
author | Ben Pfaff <blp@nicira.com> | 2011-02-08 10:27:35 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-02-08 16:01:28 -0800 |
commit | 9591fefeea4b475ee0d1387486a410bbb592b050 (patch) | |
tree | 3afed33b724fa236597e013eeb641af66af43cfb /utilities/ovs-vsctl.8.in | |
parent | f158c54a9830e6aef4f1e5a918da5860d2254616 (diff) |
ovs-vsctl: Add --columns options to "list" command.
This allows the user to list just selected columns from a table,
for example just the "name" column.
This will become more useful as additional formatting options
are added in upcoming commits.
Diffstat (limited to 'utilities/ovs-vsctl.8.in')
-rw-r--r-- | utilities/ovs-vsctl.8.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/utilities/ovs-vsctl.8.in b/utilities/ovs-vsctl.8.in index 5e3ab39e..79a14862 100644 --- a/utilities/ovs-vsctl.8.in +++ b/utilities/ovs-vsctl.8.in @@ -543,10 +543,15 @@ as \fB{}\fR, and curly braces may be optionally enclose non-empty maps as well. . .ST "Database Command Syntax" -.IP "\fBlist \fItable \fR[\fIrecord\fR]..." -List the values of all columns of each specified \fIrecord\fR. If no +.IP "[\fB\-\-columns=\fIcolumn\fR[\fB,\fIcolumn\fR]...] \fBlist \fItable \fR[\fIrecord\fR]..." +Lists the data in each specified \fIrecord\fR. If no records are specified, lists all the records in \fItable\fR. .IP +If \fB\-\-columns\fR is specified, only the requested columns are +listed, in the specified order. Otherwise, all columns are listed, in +alphabetical order by column name. +. +.IP The UUIDs shown for rows created in the same \fBovs\-vsctl\fR invocation will be wrong. . |