From 50c56e25acaf619c2a16112fd4b617052cd2fe3d Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Thu, 23 May 2002 18:52:26 +0000 Subject: [PATCH] issue the usage message if there are extraneous arguments on the command line git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95254 13f79535-47bb-0310-9956-ffa450edef68 --- server/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.c b/server/main.c index 9a1cdb456c..6dfbfc2eae 100644 --- a/server/main.c +++ b/server/main.c @@ -536,7 +536,7 @@ int main(int argc, const char * const argv[]) } /* bad cmdline option? then we die */ - if (rv != APR_EOF) { + if (rv != APR_EOF || opt->ind < opt->argc) { usage(process); } -- 2.50.1