/** * Run the tool. * @param args Command line arguments. First arg is path to zookeepers file. */ public static void main(String args[]) { Configuration conf = WaspConfiguration.create(); String hostport = new ZooKeeperMainServerArg().parse(conf); System.out.println((hostport == null || hostport.length() == 0)? "": "-server " + hostport); } }