You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ju...@apache.org on 2025/12/26 07:51:30 UTC
(iotdb) branch table-time-namecreate updated: pw-args
This is an automated email from the ASF dual-hosted git repository.
justinchen pushed a commit to branch table-time-namecreate
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/table-time-namecreate by this push:
new 919c21baf81 pw-args
919c21baf81 is described below
commit 919c21baf81cb62a565f499f2e4e15d5fc5f0647
Author: Caideyipi <87...@users.noreply.github.com>
AuthorDate: Fri Dec 26 15:51:09 2025 +0800
pw-args
---
iotdb-client/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/iotdb-client/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java b/iotdb-client/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java
index 17587cf8811..8fd0a179063 100644
--- a/iotdb-client/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java
+++ b/iotdb-client/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java
@@ -321,9 +321,7 @@ public abstract class AbstractCli {
}
}
if (index >= 0) {
- if (index + 1 >= args.length
- || args[index + 1].startsWith("-")
- || (keywordSet.contains(args[index + 1]))) {
+ if (index + 1 >= args.length || keywordSet.contains(args[index + 1])) {
return ArrayUtils.remove(args, index);
}
}