1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 15:16:37 +02:00

Removed the --log command line option because its no longer necessary, and updated example.conf

This commit is contained in:
Adam
2010-09-12 00:02:22 -04:00
parent e30370af10
commit 47872e53ed
4 changed files with 2 additions and 16 deletions
-8
View File
@@ -235,7 +235,6 @@ void Init(int ac, char **av)
Log(LOG_TERMINAL) << "-d, --debug[=level]";
Log(LOG_TERMINAL) << " --dir=services_directory";
Log(LOG_TERMINAL) << "-h, --help";
Log(LOG_TERMINAL) << " --log=log_filename";
Log(LOG_TERMINAL) << "-e, --noexpire";
Log(LOG_TERMINAL) << "-n, --nofork";
Log(LOG_TERMINAL) << " --nothird";
@@ -299,13 +298,6 @@ void Init(int ac, char **av)
services_dir = Arg;
}
if (GetCommandLineArgument("log", 0, Arg))
{
if (Arg.empty())
throw FatalException("The --log option requires a file name");
log_filename = Arg;
}
/* Chdir to Services data directory. */
if (chdir(services_dir.c_str()) < 0)
{