vlogconf: Don't abort when given unknown option.
authorBen Pfaff <blp@nicira.com>
Fri, 19 Sep 2008 20:19:21 +0000 (13:19 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 19 Sep 2008 21:46:18 +0000 (14:46 -0700)
utilities/vlogconf.c

index 46a121b2dc136815c5a9106031bac2ae4f2ebdee..006344ba84e6bd7ec02c9284301aa6b84c84d2f1 100644 (file)
@@ -208,6 +208,9 @@ int main(int argc, char *argv[])
             usage(argv[0], EXIT_SUCCESS);
             break;
 
+        case '?':
+            exit(EXIT_FAILURE);
+
         default:
             NOT_REACHED();
         }