ovs-vsctl: Print schema version when called with "--version".
authorJustin Pettit <jpettit@nicira.com>
Thu, 27 Feb 2014 00:29:00 +0000 (16:29 -0800)
committerJustin Pettit <jpettit@nicira.com>
Fri, 28 Feb 2014 21:18:34 +0000 (13:18 -0800)
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
utilities/ovs-vsctl.c

index 62a66c5..21ac777 100644 (file)
@@ -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':