Sönke Liebau created KAFKA-8131:
-----------------------------------

             Summary: Add --version parameter to command line help outputs & 
docs
                 Key: KAFKA-8131
                 URL: https://issues.apache.org/jira/browse/KAFKA-8131
             Project: Kafka
          Issue Type: Improvement
          Components: tools
            Reporter: Sönke Liebau
            Assignee: Sönke Liebau


KAFKA-2061 added the --version flag to kafka-run-class.sh which prints the 
Kafka version to the commandline.

As this is in kafka-run-class.sh this will effectively work for all commandline 
tools that use this file to run a class, so it should be added to the help 
output of these scripts as well. A quick grep leads me to these suspects:
 * connect-distributed.sh
 * connect-standalone.sh
 * kafka-acls.sh
 * kafka-broker-api-versions.sh
 * kafka-configs.sh
 * kafka-console-consumer.sh
 * kafka-console-producer.sh
 * kafka-consumer-groups.sh
 * kafka-consumer-perf-test.sh
 * kafka-delegation-tokens.sh
 * kafka-delete-records.sh
 * kafka-dump-log.sh
 * kafka-log-dirs.sh
 * kafka-mirror-maker.sh
 * kafka-preferred-replica-election.sh
 * kafka-producer-perf-test.sh
 * kafka-reassign-partitions.sh
 * kafka-replica-verification.sh
 * kafka-server-start.sh
 * kafka-streams-application-reset.sh
 * kafka-topics.sh
 * kafka-verifiable-consumer.sh
 * kafka-verifiable-producer.sh
 * trogdor.sh
 * zookeeper-security-migration.sh
 * zookeeper-server-start.sh
 * zookeeper-shell.sh

Currently this parameter is not documented at all, neither in the output nor in 
the official docs.

I'd propose to add it to the docs as well as part of this issue, I'll look for 
a suitable place.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to