This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-transform.git


The following commit(s) were added to refs/heads/main by this push:
     new 52d0882  Fix `list-formats` help (#232)
52d0882 is described below

commit 52d0882fcc5854e8308b0054b1ff43844516b657
Author: Ryan Schmitt <[email protected]>
AuthorDate: Wed Oct 22 02:09:30 2025 -0700

    Fix `list-formats` help (#232)
---
 .../apache/logging/log4j/transform/cli/ConfigurationFileCommands.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/log4j-transform-cli/src/main/java/org/apache/logging/log4j/transform/cli/ConfigurationFileCommands.java
 
b/log4j-transform-cli/src/main/java/org/apache/logging/log4j/transform/cli/ConfigurationFileCommands.java
index 2b04e17..606c660 100644
--- 
a/log4j-transform-cli/src/main/java/org/apache/logging/log4j/transform/cli/ConfigurationFileCommands.java
+++ 
b/log4j-transform-cli/src/main/java/org/apache/logging/log4j/transform/cli/ConfigurationFileCommands.java
@@ -134,7 +134,7 @@ public final class ConfigurationFileCommands {
         public void setInputFormat(String inputFormat) {
             if (!converter.getSupportedInputFormats().contains(inputFormat)) {
                 throw new IllegalArgumentException("Unsupported input format: 
`" + inputFormat
-                        + "`.\nRun `listFormats` for a list of supported 
formats.");
+                        + "`.\nRun `list-formats` for a list of supported 
formats.");
             }
             this.inputFormat = inputFormat;
         }
@@ -146,7 +146,7 @@ public final class ConfigurationFileCommands {
         public void setOutputFormat(String outputFormat) {
             if (!converter.getSupportedOutputFormats().contains(outputFormat)) 
{
                 throw new IllegalArgumentException("Unsupported output format: 
`" + outputFormat
-                        + "`.\nRun `listFormats` for a list of supported 
formats.");
+                        + "`.\nRun `list-formats` for a list of supported 
formats.");
             }
             this.outputFormat = outputFormat;
         }

Reply via email to