diff options
author | Andy Zhou <azhou@nicira.com> | 2015-07-17 16:39:07 -0700 |
---|---|---|
committer | Andy Zhou <azhou@nicira.com> | 2015-07-23 13:18:01 -0700 |
commit | 6530be3ba04e4679824709c922eb501bcb77806e (patch) | |
tree | f056fbebf147217c55f9484c2b245d7274db8eef /lib/db-ctl-base.h | |
parent | ecbc260f00a3696cb86dd18920d87f68b8d1c25a (diff) | |
download | openvswitch-6530be3ba04e4679824709c922eb501bcb77806e.tar.gz |
db-ctl-base: remove the recurse member from struct cmd_show_table
The 'recurse' is used during run time to suppress duplicated prints.
It is not essential to describe how show command should work.
This patch remove the 'recurse' member. Duplicated prints is now
suppressed by maintaining an 'sset' of tables that have been printed
at run time.
Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/db-ctl-base.h')
-rw-r--r-- | lib/db-ctl-base.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/db-ctl-base.h b/lib/db-ctl-base.h index 9220ecec6..aff242bf9 100644 --- a/lib/db-ctl-base.h +++ b/lib/db-ctl-base.h @@ -157,15 +157,11 @@ struct ctl_command *ctl_parse_commands(int argc, char *argv[], * * - 'columns[]' allows user to specify the print of additional columns * in 'table'. - * - * - 'recurse' is used to avoid duplicate print. - * * */ struct cmd_show_table { const struct ovsdb_idl_table_class *table; const struct ovsdb_idl_column *name_column; const struct ovsdb_idl_column *columns[3]; /* Seems like a good number. */ - bool recurse; }; /* This array defines the 'show' command output format. User can check the |