From: Justin Pettit Date: Thu, 27 Feb 2014 00:29:49 +0000 (-0800) Subject: vtep-ctl: Print schema version when called with "--version". X-Git-Tag: sliver-openvswitch-2.2.90-1~9^2~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f15e76525a61041b6ed5657e12e159cbb83c8a5c;hp=c51513a22a22de097a282e51976fa014c1d23294;p=sliver-openvswitch.git vtep-ctl: Print schema version when called with "--version". Issue #16648 Suggested-by: Anupam Chanda Signed-off-by: Justin Pettit Acked-by: Ben Pfaff --- diff --git a/vtep/vtep-ctl.c b/vtep/vtep-ctl.c index fc7998b05..25470ff1c 100644 --- a/vtep/vtep-ctl.c +++ b/vtep/vtep-ctl.c @@ -370,6 +370,7 @@ parse_options(int argc, char *argv[], struct shash *local_options) case 'V': ovs_print_version(0, 0); + printf("DB Schema %s\n", vteprec_get_db_version()); exit(EXIT_SUCCESS); case 't':