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

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-doxia-converter.git


The following commit(s) were added to refs/heads/master by this push:
     new 22f0cb2  Fix description of CLI parameters
22f0cb2 is described below

commit 22f0cb23dd99b98a7e76cc79a226ac0d0938707d
Author: Konrad Windszus <k...@apache.org>
AuthorDate: Tue Mar 5 19:13:54 2024 +0100

    Fix description of CLI parameters
---
 src/main/java/org/apache/maven/doxia/cli/CLIManager.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/maven/doxia/cli/CLIManager.java 
b/src/main/java/org/apache/maven/doxia/cli/CLIManager.java
index 2a7495b..dbee83e 100644
--- a/src/main/java/org/apache/maven/doxia/cli/CLIManager.java
+++ b/src/main/java/org/apache/maven/doxia/cli/CLIManager.java
@@ -99,13 +99,12 @@ class CLIManager {
                 .hasArg()
                 .build());
         OPTIONS.addOption(Option.builder(FROM)
-                .desc("From format. If not specified, try to autodetect it.")
+                .desc("From format. If not specified, try to autodetect it 
(only works if input is a single file).")
                 .hasArg()
                 .build());
         OPTIONS.addOption(Option.builder(TO).desc("To 
format.").hasArg().build());
         OPTIONS.addOption(Option.builder(INENCODING)
-                .desc(
-                        "Input file encoding. If not specified, try to 
autodetect it (only works if input is a single file)")
+                .desc("Input file encoding. If not specified, try to 
autodetect it.")
                 .hasArg()
                 .build());
         OPTIONS.addOption(Option.builder(FORMAT)

Reply via email to