Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Update incorrect parameters #788

Merged
merged 1 commit into from
Jul 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions commands/mr/create/mr_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func NewCmdCreate(f *cmdutils.Factory, runE func(opts *CreateOpts) error) *cobra
$ glab mr new
$ glab mr create -a username -t "fix annoying bug"
$ glab mr create -f --draft --label RFC
$ glab mr create --autofill --yes --web
$ glab mr create --fill --yes --web
`),
Args: cobra.ExactArgs(0),
PreRun: func(cmd *cobra.Command, args []string) {
Expand Down Expand Up @@ -112,7 +112,7 @@ func NewCmdCreate(f *cmdutils.Factory, runE func(opts *CreateOpts) error) *cobra

if hasTitle && hasDescription && opts.Autofill {
return &cmdutils.FlagError{
Err: errors.New("usage of --title and --description completely override --autofill"),
Err: errors.New("usage of --title and --description completely override --fill"),
}
}
if opts.IsInteractive && !opts.IO.PromptEnabled() && !opts.Autofill {
Expand Down