if(cmd.hasOption("h"))
new HelpFormatter().printHelp("jqcML", options);
else {
// input source
String qcmlStr = cmd.getOptionValue("qcml");
QcMLReader reader;
EntityManagerFactory emf = null;
if(cmd.hasOption("f"))
reader = new QcMLFileReader();
else if(cmd.hasOption("db")) {
emf = createEntityManagerFactory(cmd);