Fix typo in error message for required flags

Corrected '--tile' to '--title' in the error message shown when required flags are missing in non-interactive mode.
This commit is contained in:
Kynan Ware 2025-10-01 16:09:33 -06:00
parent 848faf8115
commit 52bb1dec30

View file

@ -172,7 +172,7 @@ func NewCmdEdit(f *cmdutil.Factory, runF func(*EditOptions) error) *cobra.Comman
}
if opts.Interactive && !opts.IO.CanPrompt() {
return cmdutil.FlagErrorf("--tile, --body, --reviewer, --assignee, --label, --project, or --milestone required when not running interactively")
return cmdutil.FlagErrorf("--title, --body, --reviewer, --assignee, --label, --project, or --milestone required when not running interactively")
}
if runF != nil {