From: Justin Pettit Date: Thu, 27 Feb 2014 00:29:00 +0000 (-0800) Subject: ovs-vsctl: Print schema version when called with "--version". X-Git-Tag: sliver-openvswitch-2.2.90-1~9^2~9 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=c51513a22a22de097a282e51976fa014c1d23294 ovs-vsctl: Print schema version when called with "--version". Signed-off-by: Justin Pettit Acked-by: Ben Pfaff --- diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index 62a66c59e..21ac777e2 100644 --- a/utilities/ovs-vsctl.c +++ b/utilities/ovs-vsctl.c @@ -392,6 +392,7 @@ parse_options(int argc, char *argv[], struct shash *local_options) case 'V': ovs_print_version(0, 0); + printf("DB Schema %s\n", ovsrec_get_db_version()); exit(EXIT_SUCCESS); case 't':