From 7084b35a9f4991bb5d42540873883b6978578217 Mon Sep 17 00:00:00 2001 From: Robert Greene Date: Fri, 12 Dec 2003 04:21:59 +0000 Subject: [PATCH] Added John Matthews "ac" utility. --- src/com/webcodepro/applecommander/ui/AppleCommander.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/webcodepro/applecommander/ui/AppleCommander.java b/src/com/webcodepro/applecommander/ui/AppleCommander.java index 4dab3f4..f0ef162 100644 --- a/src/com/webcodepro/applecommander/ui/AppleCommander.java +++ b/src/com/webcodepro/applecommander/ui/AppleCommander.java @@ -19,6 +19,7 @@ */ package com.webcodepro.applecommander.ui; +import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; @@ -43,7 +44,7 @@ public class AppleCommander { /** * Launch AppleCommander. */ - public static void main(String[] args) { + public static void main(String[] args) throws IOException { if (args.length == 0) { if (isSwtAvailable()) { launchSwtAppleCommander(args); @@ -63,8 +64,7 @@ public class AppleCommander { System.err.println("Sorry, the command line user interface is not available (yet)."); //CommandLineAppleCommander.main(extraArgs); } else { - System.err.println("Unknown user interface specified!"); - System.err.println("Use -swt, -swing, or -command."); + ac.main(args); } } }