Re: Improving tools: --help

2017-06-16 Thread Tom Bentley
> I just checked kafka-topics.sh and the only required argument there is > --zookeeper option. Not sure if you were thinking of some other command. > > I meant that for kafka-topics.sh --create requires --topic (amongst others), but --list does not. (For example, using these methods we can say som

Re: Improving tools: --help

2017-06-16 Thread Mariam John
king on it. Hope this helps. Regards, Mariam. From: Tom Bentley To: dev@kafka.apache.org Date: 06/16/2017 10:32 AM Subject:Re: Improving tools: --help That's a great start Mariam, thanks. Out of interest, how do you handle required arguments for something like kafka-t

Re: Improving tools: --help

2017-06-16 Thread Tom Bentley
That's a great start Mariam, thanks. Out of interest, how do you handle required arguments for something like kafka-topics.sh where what's required depends on the 'action' option? Cheers, Tom On 16 June 2017 at 15:55, Mariam John wrote: > Hi Tom, > > I just wanted to let you know that I am cu

Re: Improving tools: --help

2017-06-16 Thread Mariam John
Hi Tom, I just wanted to let you know that I am currently working on KAFKA-2111: https://issues.apache.org/jira/browse/KAFKA-2111 and am almost done with it. The changes that are included in this patch are: - add --help option to all the commands where it is missing - correctly mark all the re