Merge branch 'general-devel' into warnings

This commit is contained in:
Lucas Nicodemus 2017-12-23 17:31:59 -07:00 committed by GitHub
commit 78189f0c76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,11 +73,6 @@ namespace TShockAPI
/// <summary>LogClear - Determines whether or not the log file should be cleared on initialization.</summary>
private static bool LogClear;
/// <summary>
/// Set by the command line, disables the '/restart' command.
/// </summary>
internal static bool NoRestart;
/// <summary>Will be set to true once Utils.StopServer() is called.</summary>
public static bool ShuttingDown;
@ -768,8 +763,7 @@ namespace TShockAPI
.AddFlag("-logclear", () => LogClear = true)
.AddFlag("-autoshutdown", () => Main.instance.EnableAutoShutdown())
.AddFlag("-dump", () => Utils.Dump())
.AddFlag("--stats-optout", () => StatTracker.OptOut = true)
.AddFlag("--no-restart", () => NoRestart = true);
.AddFlag("--stats-optout", () => StatTracker.OptOut = true);
CliParser.ParseFromSource(parms);
}