LOG.info(usage);
}
private WhatToDo[] processArguments(String[] args) throws Exception {
String sopts = "-:HD:h:p:e:buflt";
LongOpt[] lopts = { new LongOpt("help", LongOpt.NO_ARGUMENT, null, 'H'),
new LongOpt("host", LongOpt.REQUIRED_ARGUMENT, null, 'h'),
new LongOpt("port", LongOpt.REQUIRED_ARGUMENT, null, 'p'),
new LongOpt("encodevalue", LongOpt.NO_ARGUMENT, null, 'e'),
new LongOpt("setupdb", LongOpt.NO_ARGUMENT, null, 'b'),
new LongOpt("updatestorageschema", LongOpt.NO_ARGUMENT, null, 'u'),
new LongOpt("upgrade", LongOpt.NO_ARGUMENT, null, 'g'),
new LongOpt("listservers", LongOpt.NO_ARGUMENT, null, 'l'),
new LongOpt("listversions", LongOpt.NO_ARGUMENT, null, 'v'),
new LongOpt("force", LongOpt.NO_ARGUMENT, null, 'f'), new LongOpt("test", LongOpt.NO_ARGUMENT, null, 't') };
boolean test = false;
boolean listservers = false;
boolean listversions = false;
boolean setupdb = false;