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

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 4be19d14e1d fix help error (#12604)
4be19d14e1d is described below

commit 4be19d14e1d1618c29f1da04cfd782c456633219
Author: CritasWang <[email protected]>
AuthorDate: Tue May 28 17:32:57 2024 +0800

    fix help error (#12604)
---
 .../confignode/src/assembly/resources/sbin/remove-confignode.bat      | 4 ++--
 iotdb-core/datanode/src/assembly/resources/sbin/remove-datanode.bat   | 4 ++--
 iotdb-core/datanode/src/assembly/resources/sbin/remove-datanode.sh    | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/iotdb-core/confignode/src/assembly/resources/sbin/remove-confignode.bat 
b/iotdb-core/confignode/src/assembly/resources/sbin/remove-confignode.bat
index 7db31371a45..d3e2cc143f5 100644
--- a/iotdb-core/confignode/src/assembly/resources/sbin/remove-confignode.bat
+++ b/iotdb-core/confignode/src/assembly/resources/sbin/remove-confignode.bat
@@ -24,9 +24,9 @@ IF "%~1"=="--help" (
     echo Before removing a ConfigNode, ensure that there is at least one 
active ConfigNode in the cluster after the removal.
     echo Usage:
     echo Remove the ConfigNode with confignode_id
-    echo ./sbin/remove-confignode.sh [confignode_id]
+    echo ./sbin/remove-confignode.bat [confignode_id]
     echo Remove the ConfigNode with address:port
-    echo ./sbin/remove-confignode.sh [cn_internal_address:cn_internal_port]
+    echo ./sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
     EXIT /B 0
 )
 
diff --git 
a/iotdb-core/datanode/src/assembly/resources/sbin/remove-datanode.bat 
b/iotdb-core/datanode/src/assembly/resources/sbin/remove-datanode.bat
index 8546332c0cb..1903e224d8e 100644
--- a/iotdb-core/datanode/src/assembly/resources/sbin/remove-datanode.bat
+++ b/iotdb-core/datanode/src/assembly/resources/sbin/remove-datanode.bat
@@ -24,9 +24,9 @@ IF "%~1"=="--help" (
     echo Before removing a DataNode, ensure that the cluster has at least the 
number of data/schema replicas DataNodes.
     echo Usage:
     echo Remove the DataNode with datanode_id
-    echo ./sbin/remove-datanode.sh [datanode_id]
+    echo ./sbin/remove-datanode.bat [datanode_id]
     echo Remove the DataNode with address:port
-    echo ./sbin/remove-confignode.sh [dn_rpc_address:dn_rpc_port]
+    echo ./sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
     EXIT /B 0
 )
 
diff --git a/iotdb-core/datanode/src/assembly/resources/sbin/remove-datanode.sh 
b/iotdb-core/datanode/src/assembly/resources/sbin/remove-datanode.sh
index 51a70b13819..ba27784ca3b 100755
--- a/iotdb-core/datanode/src/assembly/resources/sbin/remove-datanode.sh
+++ b/iotdb-core/datanode/src/assembly/resources/sbin/remove-datanode.sh
@@ -25,7 +25,7 @@ if [ "$#" -eq 1 ] && [ "$1" == "--help" ]; then
     echo "Remove the DataNode with datanode_id"
     echo "./sbin/remove-datanode.sh [datanode_id]"
     echo "Remove the DataNode with address:port"
-    echo "./sbin/remove-confignode.sh [dn_rpc_address:dn_rpc_port]"
+    echo "./sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]"
     exit 0
 fi
 

Reply via email to