From 23a4253b0eaa36d8d3e3a4a2bced77b8d46cac9c Mon Sep 17 00:00:00 2001 From: Simon Mayer Date: Fri, 7 Aug 2026 08:44:14 +0200 Subject: [PATCH] Rename flag descriptions --- cmd/api/v1/tenant.go | 4 ++-- docs/metal_tenant_member_list.md | 2 +- docs/metal_tenant_member_update.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/api/v1/tenant.go b/cmd/api/v1/tenant.go index ca740a2..a189c4f 100644 --- a/cmd/api/v1/tenant.go +++ b/cmd/api/v1/tenant.go @@ -129,7 +129,7 @@ func newTenantCmd(c *config.Config) *cobra.Command { }, } - listMembersCmd.Flags().String("tenant", "", "the tenant in which to remove the member") + listMembersCmd.Flags().String("tenant", "", "the tenant in which to list the members") genericcli.AddSortFlag(listMembersCmd, sorters.TenantMemberSorter()) @@ -156,7 +156,7 @@ func newTenantCmd(c *config.Config) *cobra.Command { ValidArgsFunction: c.Completion.TenantMemberListCompletion, } - updateMemberCmd.Flags().String("tenant", "", "the tenant in which to remove the member") + updateMemberCmd.Flags().String("tenant", "", "the tenant in which to update the member") updateMemberCmd.Flags().String("role", "", "the role of the member") genericcli.Must(updateMemberCmd.RegisterFlagCompletionFunc("tenant", c.Completion.TenantListCompletion)) diff --git a/docs/metal_tenant_member_list.md b/docs/metal_tenant_member_list.md index 255c7b1..f11844a 100644 --- a/docs/metal_tenant_member_list.md +++ b/docs/metal_tenant_member_list.md @@ -11,7 +11,7 @@ metal tenant member list [flags] ``` -h, --help help for list --sort-by strings sort by (comma separated) column(s), sort direction can be changed by appending :asc or :desc behind the column identifier. possible values: created|id|role - --tenant string the tenant in which to remove the member + --tenant string the tenant in which to list the members ``` ### Options inherited from parent commands diff --git a/docs/metal_tenant_member_update.md b/docs/metal_tenant_member_update.md index 2e14d2b..4058ffc 100644 --- a/docs/metal_tenant_member_update.md +++ b/docs/metal_tenant_member_update.md @@ -11,7 +11,7 @@ metal tenant member update [flags] ``` -h, --help help for update --role string the role of the member - --tenant string the tenant in which to remove the member + --tenant string the tenant in which to update the member ``` ### Options inherited from parent commands