Skip to content

Commit d3fb77f

Browse files
authored
Merge pull request cli#12154 from cli/af/12153-agent-list-default
Remove extra flag default from help usage
2 parents 8a4154c + e85877d commit d3fb77f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/cmd/agent-task/list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Comman
5151
},
5252
}
5353

54-
cmd.Flags().IntVarP(&opts.Limit, "limit", "L", defaultLimit, fmt.Sprintf("Maximum number of agent tasks to fetch (default %d)", defaultLimit))
54+
cmd.Flags().IntVarP(&opts.Limit, "limit", "L", defaultLimit, "Maximum number of agent tasks to fetch")
5555
cmd.Flags().BoolVarP(&opts.Web, "web", "w", false, "Open agent tasks in the browser")
5656

5757
return cmd

0 commit comments

Comments
 (0)