diff options
Diffstat (limited to 'java/demo/Ice/invoke/Client.java')
-rw-r--r-- | java/demo/Ice/invoke/Client.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/demo/Ice/invoke/Client.java b/java/demo/Ice/invoke/Client.java index 1d6cb450fab..f9f5b97be9f 100644 --- a/java/demo/Ice/invoke/Client.java +++ b/java/demo/Ice/invoke/Client.java @@ -49,6 +49,12 @@ public class Client extends Ice.Application public int run(String[] args) { + if(args.length > 0) + { + System.err.println(appName() + ": too many arguments"); + return 1; + } + // // Since this is an interactive demo we want to clear the // Application installed interrupt callback and install our |