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:32:16 UTC
[solr] branch branch_9x updated: mark as deprecated (#1668)
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 a6572cc64db mark as deprecated (#1668)
a6572cc64db is described below
commit a6572cc64dbadfa525c474eb78ec40910850b8ff
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 d903ac6544e..331e6c0a3dc 100644
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -1345,6 +1345,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