From: Ben Pfaff Date: Fri, 19 Sep 2008 20:19:21 +0000 (-0700) Subject: vlogconf: Don't abort when given unknown option. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9598fdaaecf64450344ca5a068e4e3a715c58378;p=openvswitch vlogconf: Don't abort when given unknown option. --- diff --git a/utilities/vlogconf.c b/utilities/vlogconf.c index 46a121b2..006344ba 100644 --- a/utilities/vlogconf.c +++ b/utilities/vlogconf.c @@ -208,6 +208,9 @@ int main(int argc, char *argv[]) usage(argv[0], EXIT_SUCCESS); break; + case '?': + exit(EXIT_FAILURE); + default: NOT_REACHED(); }