From 28c4961290443283ec705d346c01ef8452aecfc3 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 6 Aug 2006 22:00:08 +0000 Subject: Syntax notice on bad commandline git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4752 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index b5aa33b5e..f667acf8e 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -287,6 +287,12 @@ InspIRCd::InspIRCd(int argc, char** argv) printf("ERROR: The -logfile parameter must be followed by a log file name and path.\n"); Exit(ERROR); } + i++; + } + else + { + printf("Usage: %s [-nofork] [-nolog] [-debug] [-wait] [-nolimit] [-notraceback] [-logfile ]\n",argv[0]); + Exit(ERROR); } } } -- cgit v1.2.3