private void writeArgHelp(ColorFormatter colors, LineWrapper builder, Arg arg) {
        if (arg.longName != null) {
            builder.appendWithinLine(colors.style(arg.longName, ColorTheme.LITERAL));
            if (arg.shortName != null) {
                builder.appendWithinLine(", ");
            }
        }
        if (arg.shortName != null) {
            builder.appendWithinLine(colors.style(arg.shortName, ColorTheme.LITERAL));
        }
        if (arg.exampleValue != null) {
            builder.space().appendWithinLine(arg.exampleValue);
        }
        builder.indent(8);
        builder.newLine();
        builder.appendText(arg.description, 4);
    }
Prints the generated help to the given printer.

@param colors Color formatter.
@param printer CliPrinter to write to.
smithy-cli/src/main/java/software/amazon/smithy/cli/HelpPrinter.java