diff --git a/pkg/cmd/issue/shared/lookup.go b/pkg/cmd/issue/shared/lookup.go index f93b0867d..be79f9a73 100644 --- a/pkg/cmd/issue/shared/lookup.go +++ b/pkg/cmd/issue/shared/lookup.go @@ -36,7 +36,7 @@ func IssueFromArgWithFields(httpClient *http.Client, baseRepoFn func() (ghrepo.I return issue, baseRepo, err } -// IssuesFromArgWithFields loads 1 or more issues or pull requests with the specified fields. If some of the fields +// IssuesFromArgsWithFields loads 1 or more issues or pull requests with the specified fields. If some of the fields // could not be fetched by GraphQL, this returns non-nil issues and a *PartialLoadError. func IssuesFromArgsWithFields(httpClient *http.Client, baseRepoFn func() (ghrepo.Interface, error), args []string, fields []string) ([]*api.Issue, ghrepo.Interface, error) { var issuesRepo ghrepo.Interface diff --git a/pkg/markdown/markdown.go b/pkg/markdown/markdown.go index 1aab0bcd3..f3f4951af 100644 --- a/pkg/markdown/markdown.go +++ b/pkg/markdown/markdown.go @@ -9,7 +9,7 @@ func WithoutIndentation() glamour.TermRendererOption { return ghMarkdown.WithoutIndentation() } -// WithoutWrap is a rendering option that set the character limit for soft +// WithWrap is a rendering option that set the character limit for soft // wrapping the markdown rendering. There is a max limit of 120 characters. // If 0 is passed then wrapping is disabled. func WithWrap(w int) glamour.TermRendererOption {