You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gh agent list --help should not display redundant default for --limit flag #12153
When displaying help usage for gh agent list command, the -L, --limit command line flag has its default value information shown twice:
$ gh agent list --help
List agent tasks (preview)
USAGE
gh agent-task list [flags]
FLAGS
-L, --limit int Maximum number of agent tasks to fetch (default 30) (default 30)
-w, --web Open agent tasks in the browser
INHERITED FLAGS
--help Show helpforcommand
LEARN MORE
Use `gh <command><subcommand> --help`for more information about a command.
Read the manual at https://cli.github.com/manual
Learn about exit codes using `gh help exit-codes`
Learn about accessibility experiences using `gh help accessibility`
Affected version
$ gh version
gh version 2.83.1 (2025-11-13)
https://github.com/cli/cli/releases/tag/v2.83.1
Steps to reproduce the behavior
Type this 'gh agent list --help'
View the output
See error
Expected vs actual behavior
-L, --limit int Maximum number of agent tasks to fetch (default 30)
Logs
Paste the activity from your command line. Redact if needed.
Activity
Remove extra flag default from help usage