diff --git a/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/components/TaosDemoCommandLineRunner.java b/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/components/TaosDemoCommandLineRunner.java index 57d9bc3ce4bde21d651a38b90de392177b9bd369..e58c68f7a5f60b57f064075c4004267918526b15 100644 --- a/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/components/TaosDemoCommandLineRunner.java +++ b/tests/examples/JDBC/taosdemo/src/main/java/com/taosdata/taosdemo/components/TaosDemoCommandLineRunner.java @@ -41,6 +41,7 @@ public class TaosDemoCommandLineRunner implements CommandLineRunner { boolean isHelp = Arrays.asList(args).contains("--help"); if (isHelp) { JdbcTaosdemoConfig.printHelp(); + System.exit(0); } // 准备数据 prepareData(config);