You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gu...@apache.org on 2018/01/26 19:17:55 UTC

[kafka] branch trunk updated: MINOR: fix command help description on zookeeper host strings URLs (#2940)

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.