diff --git a/src/net/azib/ipscan/Main.java b/src/net/azib/ipscan/Main.java index 5b0648d9..e591220a 100755 --- a/src/net/azib/ipscan/Main.java +++ b/src/net/azib/ipscan/Main.java @@ -41,6 +41,8 @@ public class Main { initSystemProperties(); + processCommandLine(args); + Display display = Display.getDefault(); LOG.finer("SWT initialized after " + (System.currentTimeMillis() - startTime)); @@ -88,6 +90,13 @@ public class Main { Security.setProperty("networkaddress.cache.negative.ttl", "0"); } + private static void processCommandLine(String[] args) { + if (args.length != 0) { + // TODO: implement command-line + throw new UnsupportedOperationException("Command-line usage is not implemented yet, sorry"); + } + } + /** * Returns a nice localized message for the passed exception * in case it is possible, or toString() otherwise.