diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index f53484b74..11ea679e7 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -463,7 +463,9 @@ InspIRCd::InspIRCd(int argc, char** argv) break; case '?': /* Unknown parameter */ - printf("Uknown parameter '%s'\n", argv[index]); + default: + /* Fall through to handle other weird values too */ + printf("Unknown parameter '%s'\n", argv[index]); printf("Usage: %s [--nofork] [--nolog] [--debug] [--logfile <filename>]\n\ [--runasroot] [--version] [--config <config>] [--testsuite]\n", argv[0]); Exit(EXIT_STATUS_ARGV); |