You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2022/09/01 12:26:38 UTC
[incubator-devlake] 02/02: fix: source_type shorthand
This is an automated email from the ASF dual-hosted git repository.
warren pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 8e4785dfd63d6f0822c0d33da8d2b704b9238aeb
Author: Jinlong Peng <ji...@merico.dev>
AuthorDate: Thu Sep 1 20:18:50 2022 +0800
fix: source_type shorthand
---
plugins/starrocks/starrocks.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/starrocks/starrocks.go b/plugins/starrocks/starrocks.go
index 14c4175d..40dd8b8d 100644
--- a/plugins/starrocks/starrocks.go
+++ b/plugins/starrocks/starrocks.go
@@ -59,7 +59,7 @@ var PluginEntry StarRocks
func main() {
cmd := &cobra.Command{Use: "StarRocks"}
- sourceType := cmd.Flags().StringP("source_type", "sp", "", "Source type")
+ sourceType := cmd.Flags().StringP("source_type", "st", "", "Source type")
sourceDsn := cmd.Flags().StringP("source_dsn", "sd", "", "Source dsn")
_ = cmd.MarkFlagRequired("host")
host := cmd.Flags().StringP("host", "h", "", "StarRocks host")