Merge branch 'general-devel' into crp
This commit is contained in:
commit
abb9aa1881
1 changed files with 1 additions and 7 deletions
|
|
@ -73,11 +73,6 @@ namespace TShockAPI
|
||||||
/// <summary>LogClear - Determines whether or not the log file should be cleared on initialization.</summary>
|
/// <summary>LogClear - Determines whether or not the log file should be cleared on initialization.</summary>
|
||||||
private static bool LogClear;
|
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>
|
/// <summary>Will be set to true once Utils.StopServer() is called.</summary>
|
||||||
public static bool ShuttingDown;
|
public static bool ShuttingDown;
|
||||||
|
|
||||||
|
|
@ -768,8 +763,7 @@ namespace TShockAPI
|
||||||
.AddFlag("-logclear", () => LogClear = true)
|
.AddFlag("-logclear", () => LogClear = true)
|
||||||
.AddFlag("-autoshutdown", () => Main.instance.EnableAutoShutdown())
|
.AddFlag("-autoshutdown", () => Main.instance.EnableAutoShutdown())
|
||||||
.AddFlag("-dump", () => Utils.Dump())
|
.AddFlag("-dump", () => Utils.Dump())
|
||||||
.AddFlag("--stats-optout", () => StatTracker.OptOut = true)
|
.AddFlag("--stats-optout", () => StatTracker.OptOut = true);
|
||||||
.AddFlag("--no-restart", () => NoRestart = true);
|
|
||||||
|
|
||||||
CliParser.ParseFromSource(parms);
|
CliParser.ParseFromSource(parms);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue