Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

use long form, -h now means --help, not --host (#2683)

Eric Pughbfc25e2b87a3
diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd
index a07b4575c7d..e87220f6dbb 100755
--- a/solr/bin/solr.cmd
+++ b/solr/bin/solr.cmd
@@ -582,7 +582,7 @@ IF "%firstChar%"=="-" (
)
set SOLR_HOST=%~2
-set "PASS_TO_RUN_EXAMPLE=-h %~2 !PASS_TO_RUN_EXAMPLE!"
+set "PASS_TO_RUN_EXAMPLE=--host %~2 !PASS_TO_RUN_EXAMPLE!"
SHIFT
SHIFT
goto parse_args