This is an automated email from the ASF dual-hosted git repository.
lucasbru pushed a commit to branch 4.2
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/4.2 by this push:
new 3ae6fe430ac MINOR: Fix em-dash in command option documentation (#20975)
3ae6fe430ac is described below
commit 3ae6fe430ac4e52c16efabfbde4c18abd629947c
Author: Lucas Brutschy <[email protected]>
AuthorDate: Mon Nov 24 16:48:22 2025 +0100
MINOR: Fix em-dash in command option documentation (#20975)
Replace em-dash (–) with double hyphen (--) in '--execute' option
documentation for both ShareGroupCommandOptions and
StreamsGroupCommandOptions to ensure proper display and consistency.
Introduced in commit ffab7e6a5d5.
Reviewers: Ming-Yen Chung <[email protected]>, Chia-Ping Tsai
<[email protected]>
---
.../org/apache/kafka/tools/consumer/group/ShareGroupCommandOptions.java | 2 +-
.../java/org/apache/kafka/tools/streams/StreamsGroupCommandOptions.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/tools/src/main/java/org/apache/kafka/tools/consumer/group/ShareGroupCommandOptions.java
b/tools/src/main/java/org/apache/kafka/tools/consumer/group/ShareGroupCommandOptions.java
index 8bb50ba3446..b227ac71374 100644
---
a/tools/src/main/java/org/apache/kafka/tools/consumer/group/ShareGroupCommandOptions.java
+++
b/tools/src/main/java/org/apache/kafka/tools/consumer/group/ShareGroupCommandOptions.java
@@ -50,7 +50,7 @@ public class ShareGroupCommandOptions extends
CommandDefaultOptions {
"Has 2 execution options: --dry-run to plan which offsets to reset,
and --execute to reset the offsets. " + NL +
"You must choose one of the following reset specifications:
--to-datetime, --to-earliest, --to-latest." + NL +
"To define the scope use --all-topics or --topic." + NL +
- "Fails if neither '--dry-run' nor '–execute' is specified.";
+ "Fails if neither '--dry-run' nor '--execute' is specified.";
private static final String DRY_RUN_DOC = "Only show results without
executing changes on share groups. Supported operations: reset-offsets.";
private static final String EXECUTE_DOC = "Execute operation. Supported
operations: reset-offsets.";
private static final String RESET_TO_DATETIME_DOC = "Reset offsets to
offset from datetime. Format: 'YYYY-MM-DDThh:mm:ss.sss'";
diff --git
a/tools/src/main/java/org/apache/kafka/tools/streams/StreamsGroupCommandOptions.java
b/tools/src/main/java/org/apache/kafka/tools/streams/StreamsGroupCommandOptions.java
index 058485727e5..170dc241f71 100644
---
a/tools/src/main/java/org/apache/kafka/tools/streams/StreamsGroupCommandOptions.java
+++
b/tools/src/main/java/org/apache/kafka/tools/streams/StreamsGroupCommandOptions.java
@@ -56,7 +56,7 @@ public class StreamsGroupCommandOptions extends
CommandDefaultOptions {
"You must choose one of the following reset specifications:
--to-datetime, --by-duration, --to-earliest, " +
"--to-latest, --shift-by, --from-file, --to-current, --to-offset." +
NL +
"To define the scope use --all-input-topics or --input-topic. One
scope must be specified unless you use '--from-file'." + NL +
- "Fails if neither '--dry-run' nor '–execute' is specified.";
+ "Fails if neither '--dry-run' nor '--execute' is specified.";
private static final String DRY_RUN_DOC = "Only show results without
executing changes on streams group. Supported operations: reset-offsets.";
private static final String EXECUTE_DOC = "Execute operation. Supported
operations: reset-offsets.";
private static final String EXPORT_DOC = "Export operation execution to a
CSV file. Supported operations: reset-offsets.";