This is an automated email from the ASF dual-hosted git repository.
jgus pushed a commit to branch 1.0
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/1.0 by this push:
new b47be30 MINOR: Fix typo in consumer group command error (#4463)
b47be30 is described below
commit b47be3048236c48c0b7822d7780e7b994822a1d6
Author: Logan Buckley <[email protected]>
AuthorDate: Thu Jan 25 12:16:15 2018 -0500
MINOR: Fix typo in consumer group command error (#4463)
The error message lists '--reset-offset' as one of the possible
options, but the option is in fact called '--reset-offsets'.
---
core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala
b/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala
index f1c397e..77ed3d2 100755
--- a/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala
+++ b/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala
@@ -55,7 +55,7 @@ object ConsumerGroupCommand extends Logging {
// should have exactly one action
val actions = Seq(opts.listOpt, opts.describeOpt, opts.deleteOpt,
opts.resetOffsetsOpt).count(opts.options.has _)
if (actions != 1)
- CommandLineUtils.printUsageAndDie(opts.parser, "Command must include
exactly one action: --list, --describe, --delete, --reset-offset")
+ CommandLineUtils.printUsageAndDie(opts.parser, "Command must include
exactly one action: --list, --describe, --delete, --reset-offsets")
opts.checkArgs()
--
To stop receiving notification emails like this one, please contact
[email protected].