fix: address verified review findings (comments-views-search-1)

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-18 17:38:51 +02:00
1 parent 3e522ac5ec
commit 45c564811e
9 files changed
+68 -8

No files matched your search

+3
View File
@@ -168,6 +168,9 @@ func (a *application) issueViewCommand() *cobra.Command {
conversation follows the body.`, Example: `$ tea issue view 12
$ tea issue view 12 --comments
$ tea issue view https://gitea.com/OWNER/REPO/issues/12 --web`, Annotations: map[string]string{"tea.arguments": issueArguments}, Args: argsExact(1), RunE: func(cmd *cobra.Command, args []string) error {
if comments && a.options.json != "" {
return clierr.Wrap(clierr.Usage, errors.New("--comments cannot be combined with --json or --jq; use tea issue comment list <number> --json"))
}
target, n, err := a.resolveRef(cmd, args[0], issueRef)
if err != nil {
return err