From 83c597ff533bd5204333f10bf0d344da6a5d459f Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Fri, 29 Aug 2025 17:56:04 -0600 Subject: [PATCH] Show default limit in agent-task list flag help Updates the help text for the --limit flag in the agent-task list command to display the default value, improving clarity for users. --- pkg/cmd/agent-task/list/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/agent-task/list/list.go b/pkg/cmd/agent-task/list/list.go index 767ad2cfc..43f409ffe 100644 --- a/pkg/cmd/agent-task/list/list.go +++ b/pkg/cmd/agent-task/list/list.go @@ -58,7 +58,7 @@ func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Comman cmdutil.EnableRepoOverride(cmd, f) } - cmd.Flags().IntVarP(&opts.Limit, "limit", "L", defaultLimit, "Maximum number of agent tasks to fetch") + cmd.Flags().IntVarP(&opts.Limit, "limit", "L", defaultLimit, fmt.Sprintf("Maximum number of agent tasks to fetch (default %d)", defaultLimit)) opts.CapiClient = func() (*capi.CAPIClient, error) { cfg, err := opts.Config()