Skip to content

Apache Lucene open-source search software

SOLR-9610: Fix typo in usage for assertTool timeout option. use --timeout instead of --ms

Jan Høydahlfa4e599d1dbe
diff --git a/solr/core/src/java/org/apache/solr/util/SolrCLI.java b/solr/core/src/java/org/apache/solr/util/SolrCLI.java
index 375019095ed..1975d8e58fc 100644
--- a/solr/core/src/java/org/apache/solr/util/SolrCLI.java
+++ b/solr/core/src/java/org/apache/solr/util/SolrCLI.java
@@ -3262,7 +3262,7 @@ public class SolrCLI {
.create("m"),
OptionBuilder
.withDescription("Timeout in ms for commands supporting a timeout")
- .withLongOpt("ms")
+ .withLongOpt("timeout")
.hasArg(true)
.withType(Long.class)
.withArgName("ms")