/[projects]/dao/DaoMqPump2/DaoMqPump2/MainProgram.cs
ViewVC logotype

Diff of /dao/DaoMqPump2/DaoMqPump2/MainProgram.cs

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

revision 2005 by torben, Tue Jul 9 18:10:15 2013 UTC revision 2049 by torben, Fri Aug 23 16:26:20 2013 UTC
# Line 70  namespace DaoMqPump2 Line 70  namespace DaoMqPump2
70    
71                      Console.WriteLine("Press any key to continue");                      Console.WriteLine("Press any key to continue");
72                      Console.ReadKey(); //wait for user input                      Console.ReadKey(); //wait for user input
73                  }                  }
74                    else if (args[0] == "/i" || args[0] == "/u")
                 if (args[0] == "/i" || args[0] == "/u")  
75                  {                  {
76    
77                      bool undo;                      bool undo;
# Line 86  namespace DaoMqPump2 Line 85  namespace DaoMqPump2
85                      }                      }
86                      MyServiceInstaller.DoInstall(undo, new string[] { });                                      MyServiceInstaller.DoInstall(undo, new string[] { });                
87                  }                  }
88                    else
89                    {
90                        Console.WriteLine("DaoMqPumpv2 by THN");
91                        Console.WriteLine("Options:");
92                        Console.WriteLine("  --debug    start a single run debug session");
93                        Console.WriteLine("  /i         install as a service");
94                        Console.WriteLine("  /u         un-install service");
95                    }
96    
97              }              }
98              else              else

Legend:
Removed from v.2005  
changed lines
  Added in v.2049

  ViewVC Help
Powered by ViewVC 1.1.20