You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by al...@apache.org on 2020/01/23 10:27:18 UTC

[flink] 02/07: [FLINK-15276] Update executor CLI name and help message

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

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

commit 47a7f4442db8ead13e8ffc06e128db28e4aff841
Author: Aljoscha Krettek <al...@apache.org>
AuthorDate: Wed Jan 22 10:16:21 2020 +0100

    [FLINK-15276] Update executor CLI name and help message
---
 .../src/main/java/org/apache/flink/client/cli/ExecutorCLI.java      | 6 ++++--
 1 file changed, 4 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 2802bfd..0f79e31 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
@@ -45,7 +45,7 @@ public class ExecutorCLI implements CustomCommandLine {
 
 	private static final Logger LOG = LoggerFactory.getLogger(ExecutorCLI.class);
 
-	private static final String ID = "Executor-CLI";
+	private static final String ID = "executor";
 
 	private final Option executorOption = new Option("e", "executor", true,
 			"The name of the executor to be used for executing the given job, e.g. \"local\"." +
@@ -59,7 +59,9 @@ public class ExecutorCLI implements CustomCommandLine {
 			.argName("property=value")
 			.numberOfArgs(2)
 			.valueSeparator('=')
-			.desc("use value for given property")
+			.desc("Generic configuration options for execution/deployment and for the configured " +
+					"executor. The available options can be found at " +
+					"https://ci.apache.org/projects/flink/flink-docs-stable/ops/config.html")
 			.build();
 
 	private final Configuration baseConfiguration;