Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/api/v1/tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand All @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion docs/metal_tenant_member_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/metal_tenant_member_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metal tenant member update <member> [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
Expand Down
Loading