This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new bc7b8214693 use long form, -h now means --help, not --host (#2683)
bc7b8214693 is described below

commit bc7b8214693e48865eecdabf0107bc26ea55f719
Author: Eric Pugh <[email protected]>
AuthorDate: Fri Aug 30 10:59:41 2024 -0400

    use long form, -h now means --help, not --host (#2683)
---
 solr/bin/solr.cmd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd
index 264dd1c42c9..c2e6c6fd674 100755
--- a/solr/bin/solr.cmd
+++ b/solr/bin/solr.cmd
@@ -867,7 +867,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

Reply via email to