X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fovs-vswitchd.c;h=4910d699c3c41e126023f237c169f319aa354794;hb=ea7fa1dbe5efccb1718686bc5920baff266e143c;hp=7d4e4d7704797245ea8e9d3deadee1b8f18f1818;hpb=80df177a5f624a84f4c97bbe913511726c3e9bb8;p=openvswitch diff --git a/vswitchd/ovs-vswitchd.c b/vswitchd/ovs-vswitchd.c index 7d4e4d77..4910d699 100644 --- a/vswitchd/ovs-vswitchd.c +++ b/vswitchd/ovs-vswitchd.c @@ -80,7 +80,7 @@ main(int argc, char *argv[]) if (retval) { exit(EXIT_FAILURE); } - unixctl_command_register("exit", ovs_vswitchd_exit, &exiting); + unixctl_command_register("exit", "", ovs_vswitchd_exit, &exiting); bridge_init(remote); free(remote); @@ -146,12 +146,11 @@ parse_options(int argc, char *argv[]) } switch (c) { - case 'H': case 'h': usage(); case 'V': - OVS_PRINT_VERSION(OFP_VERSION, OFP_VERSION); + ovs_print_version(OFP_VERSION, OFP_VERSION); exit(EXIT_SUCCESS); case OPT_MLOCKALL: