mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 17:47:24 +02:00
* Add Loc shortcut to LocalizedCommands * Fix static methods in commands --------- Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
18 lines
529 B
C#
18 lines
529 B
C#
namespace Robust.Shared.Console.Commands;
|
|
|
|
public sealed class OldHelpCommand : LocalizedCommands
|
|
{
|
|
public override string Command => "oldhelp";
|
|
|
|
public override void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
{
|
|
// For the people that got used to oldhelp
|
|
HelpCommand.ExecuteStatic(shell, argStr, args, Loc);
|
|
}
|
|
|
|
public override CompletionResult GetCompletion(IConsoleShell shell, string[] args)
|
|
{
|
|
return HelpCommand.GetCompletionStatic(shell, args, Loc);
|
|
}
|
|
}
|