kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [kafka] branch trunk updated: MINOR: Fix typo in consumer group command error (#4463)
Date Thu, 25 Jan 2018 17:16:21 GMT
This is an automated email from the ASF dual-hosted git repository.

jgus 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 3cb6a00  MINOR: Fix typo in consumer group command error (#4463)
3cb6a00 is described below

commit 3cb6a00c5a6b8f9c79f154cd391f729c4f5b5a0b
Author: Logan Buckley <logan@hustle.com>
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 c437a1e..4905a94 100755
--- a/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala
+++ b/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala
@@ -56,7 +56,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
jgus@apache.org.

Mime
View raw message