You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2023/05/30 23:31:29 UTC
[solr] branch main updated: mark as deprecated (#1668)
This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new b2361c04d45 mark as deprecated (#1668)
b2361c04d45 is described below
commit b2361c04d45378355f986777cd6f81574aeab2bd
Author: Eric Pugh <ep...@opensourceconnections.com>
AuthorDate: Tue May 30 19:31:23 2023 -0400
mark as deprecated (#1668)
---
solr/bin/solr | 1 +
1 file changed, 1 insertion(+)
diff --git a/solr/bin/solr b/solr/bin/solr
index ab11eb86bd2..582431d6fcf 100644
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -1339,6 +1339,7 @@ if [[ "$SCRIPT_CMD" == "zk" ]]; then
case "${1:-}" in
-upconfig|upconfig|-downconfig|downconfig|cp|rm|mv|ls|mkroot)
if [ "${1:0:1}" == "-" ]; then
+ echo "The use of $1 is deprecated. Please use ${1:1} instead."
ZK_OP=${1:1}
else
ZK_OP=$1