From 3dccfb484b282892bde9e36a5bca723e6e2d565f Mon Sep 17 00:00:00 2001 From: shi yuhang <52435083+shiyuhang0@users.noreply.github.com> Date: Fri, 20 Sep 2024 13:40:25 +0800 Subject: [PATCH] Fix sql-user typo (#242) --- docs/generate_doc/ticloud_serverless_sql-user_list.md | 2 +- internal/cli/serverless/sqluser/list.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/generate_doc/ticloud_serverless_sql-user_list.md b/docs/generate_doc/ticloud_serverless_sql-user_list.md index 01e4559a..2a7d9f12 100644 --- a/docs/generate_doc/ticloud_serverless_sql-user_list.md +++ b/docs/generate_doc/ticloud_serverless_sql-user_list.md @@ -10,7 +10,7 @@ ticloud serverless sql-user list [flags] ``` List all SQL users in interactive mode: - $ ticloud user list + $ ticloud serverless sql-user list List all SQL users in non-interactive mode: $ ticloud serverless sql-user list -c diff --git a/internal/cli/serverless/sqluser/list.go b/internal/cli/serverless/sqluser/list.go index 57c64db2..857ea929 100644 --- a/internal/cli/serverless/sqluser/list.go +++ b/internal/cli/serverless/sqluser/list.go @@ -53,7 +53,7 @@ func ListCmd(h *internal.Helper) *cobra.Command { Aliases: []string{"ls"}, Annotations: make(map[string]string), Example: fmt.Sprintf(` List all SQL users in interactive mode: - $ %[1]s user list + $ %[1]s serverless sql-user list List all SQL users in non-interactive mode: $ %[1]s serverless sql-user list -c