diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-06 22:00:08 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-06 22:00:08 +0000 |
commit | 28c4961290443283ec705d346c01ef8452aecfc3 (patch) | |
tree | 8e3533d03a23e9d0acbda9ccd0201b777969acd4 /src/inspircd.cpp | |
parent | 6c657e45fd278bba5973fb85563c8cf1abd26088 (diff) |
Syntax notice on bad commandline
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4752 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-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); } } } |