@Override public void printSynopsisSection(CommandDescriptor<?> descriptor, Appendable stream) throws IOException { man.printSynopsisSection(descriptor, stream); // Extra stream section if (match.getDescriptor().getSubordinates().isEmpty()) { stream.append("STREAM\n"); stream.append(Util.MAN_TAB); printFQN(descriptor, stream); stream.append(" <").append(commandMatch.getConsumedType().getName()).append(", ").append(commandMatch.getProducedType().getName()).append('>'); stream.append("\n\n"); } } };
@Override public void printSynopsisSection(CommandDescriptor<?> descriptor, Appendable stream) throws IOException { man.printSynopsisSection(descriptor, stream); // Extra stream section if (match.getDescriptor().getSubordinates().isEmpty()) { stream.append("STREAM\n"); stream.append(Util.MAN_TAB); printFQN(descriptor, stream); stream.append(" <").append(commandMatch.getConsumedType().getName()).append(", ").append(commandMatch.getProducedType().getName()).append('>'); stream.append("\n\n"); } } };
@Override public void printSynopsisSection(CommandDescriptor<?> descriptor, Appendable stream) throws IOException { man.printSynopsisSection(descriptor, stream); // Extra stream section if (match.getDescriptor().getSubordinates().isEmpty()) { stream.append("STREAM\n"); stream.append(Util.MAN_TAB); printFQN(descriptor, stream); stream.append(" <").append(commandMatch.getConsumedType().getName()).append(", ").append(commandMatch.getProducedType().getName()).append('>'); stream.append("\n\n"); } } };
public void print(CommandDescriptor<?> command, Appendable stream) throws IOException { printNameSection(command, stream); printSynopsisSection(command, stream); printDescriptionSection(command, stream); printParametersSection(command, stream); }
public void print(CommandDescriptor<?> command, Appendable stream) throws IOException { printNameSection(command, stream); printSynopsisSection(command, stream); printDescriptionSection(command, stream); printParametersSection(command, stream); }