Skip to content

Commit b8937e4

Browse files
authored
Merge pull request cli#3183 from kidonng/patch-1
Fix a typo in gh api's help text
2 parents ad77835 + 3a8313b commit b8937e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func NewCmdApi(f *cmdutil.Factory, runF func(*ApiOptions) error) *cobra.Command
131131
$ gh api --preview baptiste,nebula ...
132132
133133
# print only specific fields from the response
134-
$ gh api repos/:owner/:repo/issues --filter '.[].title'
134+
$ gh api repos/:owner/:repo/issues --jq '.[].title'
135135
136136
# use a template for the output
137137
$ gh api repos/:owner/:repo/issues --template \

0 commit comments

Comments
 (0)