From 0c3dd1e1a1c34fedad24b8ff82c0b2a0d3e48904 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 10 Dec 2009 15:32:50 -0800 Subject: [PATCH] ovs-vsctl: Accept documented --no-wait option. --- utilities/ovs-vsctl.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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(); -- 2.30.2