reduce scope of OpenRA.Utility.Program.actions
This commit is contained in:
@@ -19,7 +19,6 @@ namespace OpenRA.Utility
|
|||||||
{
|
{
|
||||||
class Program
|
class Program
|
||||||
{
|
{
|
||||||
static Dictionary<string, Action<string[]>> actions;
|
|
||||||
const int PipeBufferSize = 1024 * 1024;
|
const int PipeBufferSize = 1024 * 1024;
|
||||||
|
|
||||||
static PipeSecurity MakePipeSecurity()
|
static PipeSecurity MakePipeSecurity()
|
||||||
@@ -35,7 +34,7 @@ namespace OpenRA.Utility
|
|||||||
|
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
actions = new Dictionary<string, Action<string[]>>()
|
var actions = new Dictionary<string, Action<string[]>>()
|
||||||
{
|
{
|
||||||
{ "--extract-zip-inner", Command.ExtractZip },
|
{ "--extract-zip-inner", Command.ExtractZip },
|
||||||
{ "--install-ra-packages-inner", Command.InstallRAPackages },
|
{ "--install-ra-packages-inner", Command.InstallRAPackages },
|
||||||
|
|||||||
Reference in New Issue
Block a user