I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit ac1a28e9 authored by zzz's avatar zzz
Browse files

print usage if no arg

parent 7117438b
Branches
Tags
No related merge requests found
...@@ -432,6 +432,10 @@ public class NewsXMLParser { ...@@ -432,6 +432,10 @@ public class NewsXMLParser {
} }
public static void main(String[] args) { public static void main(String[] args) {
if (args.length != 1) {
System.err.println("Usage: NewsXMLParser file.xml");
System.exit(1);
}
try { try {
I2PAppContext ctx = new I2PAppContext(); I2PAppContext ctx = new I2PAppContext();
Debug.initialize(ctx); Debug.initialize(ctx);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment