From: Ben Pfaff Date: Thu, 10 Dec 2009 23:32:50 +0000 (-0800) Subject: ovs-vsctl: Accept documented --no-wait option. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c3dd1e1a1c34fedad24b8ff82c0b2a0d3e48904;p=openvswitch ovs-vsctl: Accept documented --no-wait option. --- diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index 3a6ce13b..81ef95c4 100644 --- a/utilities/ovs-vsctl.c +++ b/utilities/ovs-vsctl.c @@ -121,11 +121,13 @@ parse_options(int argc, char *argv[]) enum { OPT_DB = UCHAR_MAX + 1, OPT_ONELINE, - OPT_NO_SYSLOG + OPT_NO_SYSLOG, + OPT_NO_WAIT }; static struct option long_options[] = { {"db", required_argument, 0, OPT_DB}, {"no-syslog", no_argument, 0, OPT_NO_SYSLOG}, + {"no-wait", no_argument, 0, OPT_NO_WAIT}, {"oneline", no_argument, 0, OPT_ONELINE}, {"verbose", optional_argument, 0, 'v'}, {"help", no_argument, 0, 'h'}, @@ -154,6 +156,10 @@ parse_options(int argc, char *argv[]) vlog_set_levels(VLM_vsctl, VLF_SYSLOG, VLL_WARN); break; + case OPT_NO_WAIT: + /* XXX not yet implemented */ + break; + case 'h': usage();