recognize -h, --help, etc

This commit is contained in:
zzz
2009-04-21 17:44:16 +00:00
parent f2e9e2cc23
commit ae83b4202d

View File

@ -159,6 +159,9 @@ public class EepGet {
markSize = Integer.parseInt(args[i+1]);
lineLen = Integer.parseInt(args[i+2]);
i += 2;
} else if (args[i].startsWith("-")) {
usage();
return;
} else {
url = args[i];
}