OptionParser parser = new OptionParser();
parser.accepts("datastore", "keep data store");
OptionSet options = parser.parse(args);
List<String> argList = options.nonOptionArguments();
if (argList.size() == 2 || argList.size() == 3) {
File dir = new File(argList.get(0));
File xml = new File(dir, "repository.xml");
String dst = argList.get(1);
if (argList.size() == 3) {