Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/commands.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ cmd-restart-desc = Gracefully restarts the server (not just the round).
cmd-restart-help = Usage: {$command}

cmd-shutdown-desc = Gracefully shuts down the server.
cmd-shutdown-help = Usage: {$command}
cmd-shutdown-help = Usage: {$command} [<Reason>]

cmd-saveconfig-desc = Saves the server configuration to the config file.
cmd-saveconfig-help = Usage: {$command}
Expand Down
2 changes: 1 addition & 1 deletion Robust.Server/Console/Commands/SysCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sealed partial class ShutdownCommand : LocalizedCommands

public override void Execute(IConsoleShell shell, string argStr, string[] args)
{
_server.Shutdown(null);
_server.Shutdown(argStr[$"{Command} ".Length..].Trim());
}
}

Expand Down
Loading