summaryrefslogtreecommitdiff
path: root/cs/src/IceBox/Server.cs
diff options
context:
space:
mode:
Diffstat (limited to 'cs/src/IceBox/Server.cs')
-rw-r--r--cs/src/IceBox/Server.cs36
1 files changed, 18 insertions, 18 deletions
diff --git a/cs/src/IceBox/Server.cs b/cs/src/IceBox/Server.cs
index 56d97844767..72ebcaf5373 100644
--- a/cs/src/IceBox/Server.cs
+++ b/cs/src/IceBox/Server.cs
@@ -22,29 +22,29 @@ public class Server : Ice.Application
public override int run(string[] args)
{
- for(int i = 0; i < args.Length; ++i)
- {
- if(args[i].Equals("-h") || args[i].Equals("--help"))
- {
- usage();
- return 0;
- }
- else if(!args[i].StartsWith("--"))
- {
- Console.Error.WriteLine("Server: unknown option `" + args[i] + "'");
- usage();
- return 1;
- }
- }
+ for(int i = 0; i < args.Length; ++i)
+ {
+ if(args[i].Equals("-h") || args[i].Equals("--help"))
+ {
+ usage();
+ return 0;
+ }
+ else if(!args[i].StartsWith("--"))
+ {
+ Console.Error.WriteLine("Server: unknown option `" + args[i] + "'");
+ usage();
+ return 1;
+ }
+ }
- ServiceManagerI serviceManagerImpl = new ServiceManagerI(args);
- return serviceManagerImpl.run();
+ ServiceManagerI serviceManagerImpl = new ServiceManagerI(args);
+ return serviceManagerImpl.run();
}
public static void Main(string[] args)
{
- Server server = new Server();
- int status = server.main(args);
+ Server server = new Server();
+ int status = server.main(args);
if(status != 0)
{
System.Environment.Exit(status);