This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new f1847622cee MINOR: Refine documentation for `--override` option
(#21479)
f1847622cee is described below
commit f1847622ceedd60da3312769da4e6d01ecc130d4
Author: J.V.S Aarathi <[email protected]>
AuthorDate: Fri Feb 27 00:19:12 2026 +0530
MINOR: Refine documentation for `--override` option (#21479)
This change adds a describedAs placeholder to the --override option so
that the expected argument format is clearer in the command-line help
output.
Reviewers: Chia-Ping Tsai <[email protected]>
---
core/src/main/scala/kafka/Kafka.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/scala/kafka/Kafka.scala
b/core/src/main/scala/kafka/Kafka.scala
index fa64ed05421..828c12eaa6c 100755
--- a/core/src/main/scala/kafka/Kafka.scala
+++ b/core/src/main/scala/kafka/Kafka.scala
@@ -29,7 +29,7 @@ object Kafka extends Logging {
def getPropsFromArgs(args: Array[String]): Properties = {
val optionParser = new OptionParser(false)
- val overrideOpt = optionParser.accepts("override", "Optional property that
should override values set in server.properties file")
+ val overrideOpt = optionParser.accepts("override", "Optional property that
should override values set in server.properties file (e.g. Key=value)")
.withRequiredArg()
.ofType(classOf[String])
// This is just to make the parameter show up in the help output, we are
not actually using this due the