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

yuxiqian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-cdc.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e8ef16f5 [FLINK-40274][cdc-cli] Remove unsupported kubernetes-session 
from target option help message (#4493)
6e8ef16f5 is described below

commit 6e8ef16f52e95d42946be726a362b6323f287879
Author: jj.lee <[email protected]>
AuthorDate: Tue Aug 4 21:29:07 2026 +0900

    [FLINK-40274][cdc-cli] Remove unsupported kubernetes-session from target 
option help message (#4493)
---
 .../main/java/org/apache/flink/cdc/cli/CliFrontendOptions.java |  9 ++++++---
 .../test/java/org/apache/flink/cdc/cli/CliFrontendTest.java    | 10 ++++++----
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git 
a/flink-cdc-cli/src/main/java/org/apache/flink/cdc/cli/CliFrontendOptions.java 
b/flink-cdc-cli/src/main/java/org/apache/flink/cdc/cli/CliFrontendOptions.java
index ad30ffced..811bf704c 100644
--- 
a/flink-cdc-cli/src/main/java/org/apache/flink/cdc/cli/CliFrontendOptions.java
+++ 
b/flink-cdc-cli/src/main/java/org/apache/flink/cdc/cli/CliFrontendOptions.java
@@ -51,9 +51,12 @@ public class CliFrontendOptions {
                     .longOpt("target")
                     .hasArg()
                     .desc(
-                            "The deployment target for the execution. This can 
take one of the following values "
-                                    + 
"local/remote/yarn-session/yarn-application/kubernetes-session/kubernetes"
-                                    + "-application")
+                            "The deployment target for the execution. This can 
take one of the following values:\n"
+                                    + "- local\n"
+                                    + "- remote\n"
+                                    + "- yarn-session\n"
+                                    + "- yarn-application\n"
+                                    + "- kubernetes-application")
                     .build();
 
     public static final Option USE_MINI_CLUSTER =
diff --git 
a/flink-cdc-cli/src/test/java/org/apache/flink/cdc/cli/CliFrontendTest.java 
b/flink-cdc-cli/src/test/java/org/apache/flink/cdc/cli/CliFrontendTest.java
index 70aeebbfa..a9b8035b5 100644
--- a/flink-cdc-cli/src/test/java/org/apache/flink/cdc/cli/CliFrontendTest.java
+++ b/flink-cdc-cli/src/test/java/org/apache/flink/cdc/cli/CliFrontendTest.java
@@ -281,10 +281,12 @@ class CliFrontendTest {
                     + "                                                
hdfs:///flink/savepoint-1537\n"
                     + "    -t,--target <arg>                           The 
deployment target for the\n"
                     + "                                                
execution. This can take one of\n"
-                    + "                                                the 
following values\n"
-                    + "                                                
local/remote/yarn-session/yarn-a\n"
-                    + "                                                
pplication/kubernetes-session/ku\n"
-                    + "                                                
bernetes-application\n"
+                    + "                                                the 
following values:\n"
+                    + "                                                - 
local\n"
+                    + "                                                - 
remote\n"
+                    + "                                                - 
yarn-session\n"
+                    + "                                                - 
yarn-application\n"
+                    + "                                                - 
kubernetes-application\n"
                     + "       --use-mini-cluster                       Use 
Flink MiniCluster to run the\n"
                     + "                                                
pipeline\n";
 

Reply via email to