mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 19:19:02 -04:00
Re-add the default case to commandline parsing (if it happens, it's better to know than to do nothing) and fix a small typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11299 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
a17a8a0716
commit
52149814e3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user