forked from I2P_Developers/i2p.i2p
print usage if no arg
This commit is contained in:
@ -432,6 +432,10 @@ public class NewsXMLParser {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
if (args.length != 1) {
|
||||
System.err.println("Usage: NewsXMLParser file.xml");
|
||||
System.exit(1);
|
||||
}
|
||||
try {
|
||||
I2PAppContext ctx = new I2PAppContext();
|
||||
Debug.initialize(ctx);
|
||||
|
Reference in New Issue
Block a user