opts = new Options();
addOptions(instanceOpt, zooKeepersOpt, usernameOpt, passwordOpt, scanAuthsOpt, tableNameOpt, createtableOpt, deletetableOpt, createEntriesOpt,
deleteEntriesOpt, readEntriesOpt, debugOpt);
// parse command line
cl = new BasicParser().parse(opts, args);
if (cl.getArgs().length != 0)
throw new ParseException("unrecognized options " + cl.getArgList());
// optionally enable debugging
if (hasOpt(debugOpt))