code: private static String findOutputPath(String[][] options) {
  	for (int i = 0; i < options.length; i++) {
  	    if (options[i][0].equals("-d"))
  		return options[i][1];
  	}
  	return ".";
      }
docs: Returns the output path specified on the javadoc options