From d73c69b60e58162f882ef991e3615105c85038d4 Mon Sep 17 00:00:00 2001 From: zyyang Date: Fri, 11 Dec 2020 15:40:08 +0800 Subject: [PATCH] change --- .../taosdata/taosdemo/components/TaosDemoCommandLineRunner.java | 1 + 1 file changed, 1 insertion(+) 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 57d9bc3ce4..e58c68f7a5 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); -- GitLab