From: Ben Pfaff Date: Thu, 21 Oct 2010 17:48:56 +0000 (-0700) Subject: ovsdb-client: Make "dump" print table names in default output format too. X-Git-Tag: v1.1.0~988 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=06036898849974797cf49c76a56fc6e10461d37d;p=sliver-openvswitch.git ovsdb-client: Make "dump" print table names in default output format too. The "dump" command printed table names in CSV and HTML output formats but they were omitted in the default tabular form. This commit corrects the discrepancy. Reported-by: Brad Hall --- diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c index b8a2fa4fd..326e3b1a5 100644 --- a/ovsdb/ovsdb-client.c +++ b/ovsdb/ovsdb-client.c @@ -441,6 +441,10 @@ table_print_table__(const struct table *table) putchar('\n'); } + if (table->caption) { + puts(table->caption); + } + if (output_headings) { for (x = 0; x < table->n_columns; x++) { const struct column *column = &table->columns[x];