`glab mr create --help` example does not work
Checklist
-
I'm using the latest version of the extension (Run glab --version
)- Extension version: 1.30.0
-
Operating system and version: Ubuntu 22.04 -
Gitlab.com or self-managed instance? _gitlab.com -
GitLab version (if self-managed) GitLab version here (Use the version
endpoint, like this: gitlab.my-company.com/api/v4/version) -
I have performed glab auth status
to check for authentication issues
Summary
glab mr create --help
provides some command examples. One of them does not work.
Steps to reproduce
Run glab mr create --help
The examples section looks like this:
EXAMPLES
glab mr new
glab mr create -a username -t "fix annoying bug"
glab mr create -f --draft --label RFC
glab mr create --fill --yes --web
glab mr create --fill --fill-commit-body --yes
What is the current bug behavior?
Run glab mr create --fill --yes --web
. The command fails with this output:
$ glab mr create --fill --yes --web
--web already skips all prompts currently skipped by --yes
Usage: glab mr create [flags]
Flags:
--allow-collaboration Allow commits from other members
-a, --assignee usernames Assign merge request to people by their usernames
(...)
What is the expected correct behavior?
glab mr create --help
should suggest glab mr create --fill --web
instead (remove the --yes
).