in src/main/java/org/apache/openejb/tools/release/cmd/Help.java [34:60]
public static void main(final String[] args) {
System.out.println("Commands: ");
System.out.printf(" %-20s %s", "", "(depends on)");
System.out.println();
final List<Class<?>> commands = Commands.order(new ArrayList<Class<?>>(Main.commands.values()));
for (final Class<?> command : commands) {
final List<String> dependencies = Commands.dependencies(command);
System.out.printf(" %-20s %s", Commands.name(command), Join.join(", ", dependencies));
System.out.println();
}
System.out.println();
System.out.println("Properties: ");
System.out.printf(" %-20s %s", "", "(default)");
System.out.println();
for (final Field field : Release.class.getFields()) {
try {
System.out.printf(" %-20s %s", field.getName(), field.get(null));
System.out.println();
} catch (final IllegalAccessException e) {
}
}
}