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:
parent
848faf8115
commit
52bb1dec30
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue