janhoy commented on code in PR #4271:
URL: https://github.com/apache/solr/pull/4271#discussion_r3248395462


##########
solr/core/src/java/org/apache/solr/cli/CreateTool.java:
##########
@@ -47,7 +47,23 @@
     name = "create",
     mixinStandardHelpOptions = true,
     description =
-        "Creates a core or collection depending on whether Solr is running in 
standalone (core) or SolrCloud mode (collection).")
+        "Creates a core or collection depending on whether Solr is running in 
standalone (core) or SolrCloud mode (collection).",
+    exitCodeListHeading = "%nExit Codes:%n",
+    exitCodeList = {
+      "0:Collection or core created successfully.",
+      "1:Failed to create; Solr may not be running, or the collection/core 
already exists."
+    },
+    footerHeading = "%nExamples:%n",
+    footer = {
+      "  # Create a collection in SolrCloud mode",

Review Comment:
   Good catch, the createTool is also for standalone. So this should probably 
be fixed.
   
   I was impatient and mergd doc branch into feature branch. So will include 
this in a fixup commit shortly



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to