Skip to content

Commit

Permalink
improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
petedannemann committed Nov 21, 2023
1 parent 2f593fa commit cc4eb74
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/topicctl/subcmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ var deleteACLsConfig = aclsCmdConfig{}
func deleteACLCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "acl [flags]",
Short: "Delete an ACL",
Short: "Delete an ACL. Requires providing flags to only target a single ACL for deletion.",
Args: cobra.NoArgs,
Example: `Delete read acls for topic my-topic, user 'User:default', and host '*'
$ topicctl delete acl --resource-type topic --resource-pattern-type literal --resource-name my-topic --principal 'User:default' --host '*' --operation read --permission-type allow
`,
RunE: func(cmd *cobra.Command, args []string) error {
ctx := context.Background()
sess := session.Must(session.NewSession())
Expand Down

0 comments on commit cc4eb74

Please sign in to comment.