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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user