/[projects]/dao/DaoMqPump2/MQFilter/FilterMainProgram.cs
ViewVC logotype

Diff of /dao/DaoMqPump2/MQFilter/FilterMainProgram.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2177 by torben, Mon May 19 11:59:45 2014 UTC revision 2178 by torben, Tue May 20 20:00:10 2014 UTC
# Line 20  namespace MQFilter Line 20  namespace MQFilter
20          static void Main(string[] args)          static void Main(string[] args)
21          {          {
22    
23     if (args.Length == 1)  
24                if (args.Length == 1)
25              {              {
26                  if (args[0] == "--debug")                  if (args[0] == "--debug")
27                  {                                      {
28                      try                      try
29                      {                      {
30                            
31    
32                          FilterController controller = FilterController.getInstance();                          FilterController controller = FilterController.getInstance();
33    
# Line 43  namespace MQFilter Line 44  namespace MQFilter
44                          Console.WriteLine(e.StackTrace);                          Console.WriteLine(e.StackTrace);
45                      }                      }
46    
47                        
48    
49    
50    
51                      Console.WriteLine("Press any key to continue");                      Console.WriteLine("Press any key to continue");
52                      Console.ReadKey(); //wait for user input                      Console.ReadKey(); //wait for user input
53                  }                  }
54                  else if (args[0] == "/i" || args[0] == "/u")                  else if (args[0] == "/i" || args[0] == "/u")
55                  {                  {
56    
# Line 62  namespace MQFilter Line 63  namespace MQFilter
63                      {                      {
64                          undo = true;                          undo = true;
65                      }                      }
66                      MyServiceInstaller.DoInstall(undo, new string[] { });                                      MyServiceInstaller.DoInstall(undo, new string[] { });
67                  }                  }
68                  else                  else
69                  {                  {

Legend:
Removed from v.2177  
changed lines
  Added in v.2178

  ViewVC Help
Powered by ViewVC 1.1.20