--- dao/DaoMqPump2/MQFilter/FilterMainProgram.cs 2014/05/19 19:51:47 2177 +++ dao/DaoMqPump2/MQFilter/FilterMainProgram.cs 2014/05/20 20:00:10 2178 @@ -20,13 +20,14 @@ static void Main(string[] args) { - if (args.Length == 1) + + if (args.Length == 1) { if (args[0] == "--debug") - { + { try { - + FilterController controller = FilterController.getInstance(); @@ -43,13 +44,13 @@ Console.WriteLine(e.StackTrace); } - + Console.WriteLine("Press any key to continue"); Console.ReadKey(); //wait for user input - } + } else if (args[0] == "/i" || args[0] == "/u") { @@ -62,7 +63,7 @@ { undo = true; } - MyServiceInstaller.DoInstall(undo, new string[] { }); + MyServiceInstaller.DoInstall(undo, new string[] { }); } else {