Merge pull request #7475 from torgeir/clarify-wording-listing-workflows

Clarify docs regarding what is listed when running gh workflow list
This commit is contained in:
Mislav Marohnić 2023-05-22 14:29:45 +02:00 committed by GitHub
commit aee2a11a22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ func actionsExplainer(cs *iostreams.ColorScheme) string {
To see more help, run 'gh help run <subcommand>'
%s
gh workflow list: List all the workflow files in your repository
gh workflow list: List workflow files in your repository
gh workflow view: View details for a workflow file
gh workflow enable: Enable a workflow file
gh workflow disable: Disable a workflow file

View file

@ -58,7 +58,7 @@ func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Comman
}
cmd.Flags().IntVarP(&opts.Limit, "limit", "L", defaultLimit, "Maximum number of workflows to fetch")
cmd.Flags().BoolVarP(&opts.All, "all", "a", false, "Show all workflows, including disabled workflows")
cmd.Flags().BoolVarP(&opts.All, "all", "a", false, "Also show disabled workflows")
return cmd
}