michael-o commented on code in PR #38: URL: https://github.com/apache/maven-doxia-converter/pull/38#discussion_r1090033914
########## src/main/java/org/apache/maven/doxia/cli/CLIManager.java: ########## @@ -159,8 +164,12 @@ private static String getSupportedFormatAndEncoding() private static String getSupportedFormat() { - return "\nSupported Formats:\n from: " + join( DefaultConverter.SUPPORTED_FROM_FORMAT, ", " ) - + " or autodetect" + "\n to: " + join( DefaultConverter.SUPPORTED_TO_FORMAT, ", " ) + String fromFormats = EnumSet.allOf( DefaultConverter.ParserFormat.class ).stream() + .map( f -> f.toString().toLowerCase() ).collect( Collectors.joining( ", " ) ); + String toFormats = EnumSet.allOf( DefaultConverter.SinkFormat.class ).stream() + .map( f -> f.toString().toLowerCase() ).collect( Collectors.joining( ", " ) ); Review Comment: Locale sensitive lower-case -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org