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 46a121b..006344b 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();
         }