Merge branch 'fix_issue_help' into 'main'

fix(docs): w/o issue-no, the example will fail

Closes #7503

See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1447

Merged-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Co-authored-by: Sebastian Gumprich <sebastian.gumprich@telekom.de>
This commit is contained in:
Amy Qualls 2024-04-22 21:44:25 +00:00
commit 8d470c6787
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ func NewCmdIssue(f *cmdutils.Factory) *cobra.Command {
Example: heredoc.Doc(`
glab issue list
glab issue create --label --confidential
glab issue view --web
glab issue view --web 123
glab issue note -m "closing because !123 was merged" <issue number>
`),
Annotations: map[string]string{

View File

@ -18,7 +18,7 @@ Work with GitLab issues
```plaintext
glab issue list
glab issue create --label --confidential
glab issue view --web
glab issue view --web 123
glab issue note -m "closing because !123 was merged" <issue number>
```