cmccabe commented on code in PR #16669:
URL: https://github.com/apache/kafka/pull/16669#discussion_r1700760798


##########
core/src/main/scala/kafka/tools/StorageTool.scala:
##########
@@ -223,12 +172,20 @@ object StorageTool extends Logging {
       action(storeTrue())
     formatParser.addArgument("--release-version", "-r").
       action(store()).
-      help(s"A KRaft release version to use for the initial metadata.version. 
The minimum is ${MetadataVersion.IBP_3_0_IV0}, the default is 
${MetadataVersion.LATEST_PRODUCTION}")
+      help(s"The release version to use for the initial feature settings. The 
minimum is " +
+        s"${MetadataVersion.IBP_3_0_IV0}; the default is 
${MetadataVersion.LATEST_PRODUCTION}")
     formatParser.addArgument("--feature", "-f").
-      help("A feature upgrade we should perform, in feature=level format. For 
example: `metadata.version=5`.").
-      action(append());
-
-    parser.parseArgsOrFail(args)
+      help("The setting to use for a specific feature, in feature=level 
format. For example: `kraft.version=1`.").
+      action(append())
+    val reconfigurableQuorumOptions = formatParser.addMutuallyExclusiveGroup()
+    reconfigurableQuorumOptions.addArgument("--standalone", "-s").
+      help("Used to initialize a single-node quorum controller quorum.").
+      action(storeTrue())
+    reconfigurableQuorumOptions.addArgument("--initial-voters", "-I").

Review Comment:
   ok. `--initial-controllers` makes sense.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to