diff options
author | Mark Spruiell <mes@zeroc.com> | 2011-05-09 16:24:52 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2011-05-09 16:24:52 -0700 |
commit | 5d7de7f8f909d7a4910531a077e514955a1b0fdc (patch) | |
tree | 77b437188795dab60de6fbc5212528b0d88c182f /cs/demo/IceBox/hello/Client.cs | |
parent | Ice 3.4.2 installer updates (diff) | |
download | ice-5d7de7f8f909d7a4910531a077e514955a1b0fdc.tar.bz2 ice-5d7de7f8f909d7a4910531a077e514955a1b0fdc.tar.xz ice-5d7de7f8f909d7a4910531a077e514955a1b0fdc.zip |
merging .NET Compact Framework support
Diffstat (limited to 'cs/demo/IceBox/hello/Client.cs')
-rw-r--r-- | cs/demo/IceBox/hello/Client.cs | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/cs/demo/IceBox/hello/Client.cs b/cs/demo/IceBox/hello/Client.cs index eec6b82e940..0d0e4ce1f05 100644 --- a/cs/demo/IceBox/hello/Client.cs +++ b/cs/demo/IceBox/hello/Client.cs @@ -33,10 +33,10 @@ public class Client "f: flush all batch requests\n"); if(_haveSSL) { - Console.Write("\nS: switch secure mode on/off"); + Console.Write("S: switch secure mode on/off\n"); } Console.WriteLine( - "\nx: exit\n" + + "x: exit\n" + "?: help\n"); } @@ -169,13 +169,9 @@ public class Client private static bool _haveSSL = false; } - public static void Main(string[] args) + public static int Main(string[] args) { App app = new App(); - int status = app.main(args, "config.client"); - if(status != 0) - { - System.Environment.Exit(status); - } + return app.main(args, "config.client"); } } |