diff options
-rw-r--r-- | src/inspircd.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 <filename>]\n",argv[0]); + Exit(ERROR); } } } |