seanli-rallyhealth commented on a change in pull request #11789:
URL: https://github.com/apache/kafka/pull/11789#discussion_r809395420



##########
File path: core/src/main/scala/kafka/tools/StorageTool.scala
##########
@@ -56,6 +55,11 @@ object StorageTool extends Logging {
       formatParser.addArgument("--ignore-formatted", "-g").
         action(storeTrue())
 
+      if (args.length == 0 || args.contains("--help")) {

Review comment:
       this should be first line inside try block?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to