Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

mark as deprecated (#1668)

Eric Pughb2361c04d453
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