Skip to content

fix(cli): Disable auto --version flag on plugin subcommands - #1989

Merged
gtema merged 1 commit into
mainfrom
issue_1988
Sep 11, 2026
Merged

fix(cli): Disable auto --version flag on plugin subcommands#1989
gtema merged 1 commit into
mainfrom
issue_1988

Conversation

@gtema

@gtema gtema commented Sep 11, 2026

Copy link
Copy Markdown
Owner

install/remove/info/verify each define a version argument, which
collides with clap's auto-generated --version/-V flag on every
derived Parser subcommand. Collision crashed at runtime whenever the
CLI built these commands (e.g. osc completion).

Signed-off-by: Artem Goncharov artem.goncharov@gmail.com

install/remove/info/verify each define a `version` argument, which
collides with clap's auto-generated `--version`/`-V` flag on every
derived Parser subcommand. Collision crashed at runtime whenever the
CLI built these commands (e.g. `osc completion`).

Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
@gtema gtema linked an issue Sep 11, 2026 that may be closed by this pull request
@gtema
gtema merged commit ce14e9a into main Sep 11, 2026
20 checks passed
@gtema
gtema deleted the issue_1988 branch September 11, 2026 07:29
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debug builds crash on osc completion in 0.13.8

1 participant