kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject [kafka] branch trunk updated: MINOR: fix command help description on zookeeper host strings URLs (#2940)
Date Fri, 26 Jan 2018 19:17:55 GMT
This is an automated email from the ASF dual-hosted git repository.

guozhang 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 a693e86  MINOR: fix command help description on zookeeper host strings URLs (#2940)
a693e86 is described below

commit a693e86181637ad21927cf3e2c70277daadd6469
Author: Travis Wellman <tw@traviswellman.com>
AuthorDate: Fri Jan 26 11:17:52 2018 -0800

    MINOR: fix command help description on zookeeper host strings URLs (#2940)
---
 core/src/main/scala/kafka/admin/TopicCommand.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/main/scala/kafka/admin/TopicCommand.scala b/core/src/main/scala/kafka/admin/TopicCommand.scala
index 075252d..a9c61a9 100755
--- a/core/src/main/scala/kafka/admin/TopicCommand.scala
+++ b/core/src/main/scala/kafka/admin/TopicCommand.scala
@@ -300,9 +300,9 @@ object TopicCommand extends Logging {
   class TopicCommandOptions(args: Array[String]) {
     val parser = new OptionParser(false)
     val zkConnectOpt = parser.accepts("zookeeper", "REQUIRED: The connection string for the
zookeeper connection in the form host:port. " +
-                                      "Multiple URLS can be given to allow fail-over.")
+                                      "Multiple hosts can be given to allow fail-over.")
                            .withRequiredArg
-                           .describedAs("urls")
+                           .describedAs("hosts")
                            .ofType(classOf[String])
     val listOpt = parser.accepts("list", "List all available topics.")
     val createOpt = parser.accepts("create", "Create a new topic.")

-- 
To stop receiving notification emails like this one, please contact
guozhang@apache.org.

Mime
View raw message