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
@SuppressForbidden(reason = "For use in command line tools only")
141
144
publicstaticvoidmain(String[] args) {
142
145
OptionsmainOptions = newOptions();
143
146
144
147
OptionsolrUrlOption =
145
148
Option.builder("s")
146
149
.longOpt("solr-url")
147
150
.hasArg()
148
-
.argName("BASE_URL")
151
+
.argName("HOST")
149
152
.type(String.class)
150
153
.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'.")
154
+
"Specify the Solr base URL when connecting to Solr in standalone mode. If omitted both the -s parameter and the -z parameter, connect to "
155
+
+ DEFAULT_BASE_URL
156
+
+ ".")
152
157
.build();
153
158
mainOptions.addOption(solrUrlOption);
154
159
@@ -241,7 +246,9 @@ public static void main(String[] args) {
241
246
.argName("ZK_HOST")
242
247
.type(String.class)
243
248
.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'.")
249
+
"Specify the ZooKeeper connection string when connecting to Solr in SolrCloud mode. If omitted both the -s parameter and the -z parameter, connect to "
250
+
+ DEFAULT_BASE_URL
251
+
+ ".")
245
252
.build();
246
253
mainOptions.addOption(zkHostOption);
247
254
@@ -259,24 +266,27 @@ public static void main(String[] args) {
0 commit comments