mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
added warning about unimplemented command-line usage...
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@301 375186e5-ef17-0410-b0b6-91563547dcda
This commit is contained in:
parent
868ac71145
commit
d8d4bac899
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user