ovs-vsctl: Accept documented --no-wait option.
authorBen Pfaff <blp@nicira.com>
Thu, 10 Dec 2009 23:32:50 +0000 (15:32 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 10 Dec 2009 23:32:50 +0000 (15:32 -0800)
utilities/ovs-vsctl.c

index 3a6ce13b279f3ce463224a276b6f7ed5ab469ffd..81ef95c4caac948d803408502b3ba1a1f6f8228c 100644 (file)
@@ -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();