summaryrefslogtreecommitdiff
path: root/lib/table.h
Commit message (Collapse)AuthorAgeFilesLines
* table: Add --max-column-width option.Ben Pfaff2017-12-221-3/+10
| | | | | | | | This can make it easier to read tables that contain wide data in some columns. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
* table: provide table formatting option help at runtimeLance Richardson2017-04-061-0/+1
| | | | | | | | | Show table formatting options with help output from ovn-nbctl, obn-sbctl, ovs-vsctl, and vtep-ctl commands. Include "--data" option in ovsdb-client help output. Signed-off-by: Lance Richardson <lrichard@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* table: correct documented default format in man pagesLance Richardson2016-12-221-1/+1
| | | | | | | | | | | | | | | | | There are currently five users of the table formatting library, all of which default to "list" except for ovsdb-client which defaults to "table". The library current default is "table", and the table.man man page fragment only considers ovs-vsctl to use something other than "table" as a default.As a result, the man pages for ovn-sbctl and vtep-ctl are currently incorrect (these options aren't documented in the ovn-nbctl man page, which will need to be addressed in a future patch). Fix by making the library default format "list" and handling ovsdb-client as the exception. Signed-off-by: Lance Richardson <lrichard@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* lib: Move compiler.h to <openvswitch/compiler.h>Thomas Graf2014-12-151-1/+1
| | | | | | | | | | The following macros are renamed to avoid conflicts with other headers: * WARN_UNUSED_RESULT to OVS_WARN_UNUSED_RESULT * PRINTF_FORMAT to OVS_PRINTF_FORMAT * NO_RETURN to OVS_NO_RETURN Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Ben Pfaff <blp@nicira.com>
* Global replace of Nicira Networks.Raju Subramanian2012-05-021-1/+1
| | | | | | | | Replaced all instances of Nicira Networks(, Inc) to Nicira, Inc. Feature #10593 Signed-off-by: Raju Subramanian <rsubramanian@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* ovsdb-client: Add optional timestamps to "monitor" command output.Ben Pfaff2012-02-021-1/+3
| | | | | | Suggestion #9347. Suggested-by: Alan Shieh <ashieh@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Consistently write null pointer constants as NULL instead of 0.Ben Pfaff2011-05-161-6/+6
| | | | Found with sparse.
* table: Add new "bare" output formatting options.Ben Pfaff2011-02-081-2/+12
| | | | | | | --format=list corresponds to the output format that "ovs-vsctl list" has always used. --bare is easier for scripts to parse.
* ovsdb-client: Break table formatting into new library.Ben Pfaff2011-02-081-0/+113
This makes the table formatting functions available to other programs. ovs-vsctl will start using it soon on the "list" and "find" commands.