You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: solr/prometheus-exporter/src/java/org/apache/solr/prometheus/exporter/SolrExporter.java
+23-10
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ public static void main(String[] args) {
148
148
.argName("BASE_URL")
149
149
.type(String.class)
150
150
.desc(
151
-
"Specify the Solr base URL when connecting to Solr in standalone mode. If omitted both the -b parameter and the -z parameter, connect to http://localhost:8983/solr. For example 'http://localhost:8983/solr'.")
151
+
"Specify the Solr base URL when connecting to Solr in standalone mode. If omitted both the -s parameter and the -z parameter, connect to http://localhost:8983/solr. For example 'http://localhost:8983/solr'.")
152
152
.build();
153
153
mainOptions.addOption(solrUrlOption);
154
154
@@ -241,7 +241,7 @@ public static void main(String[] args) {
241
241
.argName("ZK_HOST")
242
242
.type(String.class)
243
243
.desc(
244
-
"Specify the ZooKeeper connection string when connecting to Solr in SolrCloud mode. If omitted both the -b parameter and the -z parameter, connect to http://localhost:8983/solr. For example 'localhost:2181/solr'.")
244
+
"Specify the ZooKeeper connection string when connecting to Solr in SolrCloud mode. If omitted both the -s parameter and the -z parameter, connect to http://localhost:8983/solr. For example 'localhost:2181/solr'.")
245
245
.build();
246
246
mainOptions.addOption(zkHostOption);
247
247
@@ -270,13 +270,15 @@ public static void main(String[] args) {
0 commit comments