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

kkloudas pushed a commit to branch release-1.11
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 08973b5e4b4f6607c8d0d39a0f4f690c3f95862d
Author: Kostas Kloudas <kklou...@gmail.com>
AuthorDate: Mon Jun 8 14:36:53 2020 +0200

    [hotfix][cli] Update the help message of the Generic CLI
    
    (cherry picked from commit c67e7962a4a3990e1daf37f3863a2d04e81233dc)
---
 .../src/main/java/org/apache/flink/client/cli/ExecutorCLI.java    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/flink-clients/src/main/java/org/apache/flink/client/cli/ExecutorCLI.java 
b/flink-clients/src/main/java/org/apache/flink/client/cli/ExecutorCLI.java
index e88de9e..152ca33 100644
--- a/flink-clients/src/main/java/org/apache/flink/client/cli/ExecutorCLI.java
+++ b/flink-clients/src/main/java/org/apache/flink/client/cli/ExecutorCLI.java
@@ -51,12 +51,16 @@ public class ExecutorCLI implements CustomCommandLine {
        private static final String ID = "Generic CLI";
 
        private final Option executorOption = new Option("e", "executor", true,
-                       "The name of the executor to be used for executing the 
given job, which is equivalent " +
+                       "DEPRECATED: Please use the -t option instead which is 
also available with the \"Application Mode\".\n" +
+                                       "The name of the executor to be used 
for executing the given job, which is equivalent " +
                                        "to the \"" + 
DeploymentOptions.TARGET.key() + "\" config option. The " +
                                        "currently available executors are: " + 
getExecutorFactoryNames() + ".");
 
        private final Option targetOption = new Option("t", "target", true,
-                       "The type of the deployment target: e.g. 
yarn-application.");
+                       "The name of the executor to be used for executing the 
given job, which is equivalent " +
+                                       "to the \"" + 
DeploymentOptions.TARGET.key() + "\" config option. The " +
+                                       "currently available executors are: " + 
getExecutorFactoryNames() +
+                                       ", \"yarn-application\" and 
\"kubernetes-application\".");
 
        /**
         * Dynamic properties allow the user to specify additional 
configuration values with -D, such as

Reply via email to