Skip to content

fix(did you mean): OMNI_SUBCOMMAND set to selected command#924

Merged
xaf merged 1 commit into
mainfrom
xaf/fix_omni_subcommand_env_var_on_did_you_mean
Jan 31, 2025
Merged

fix(did you mean): OMNI_SUBCOMMAND set to selected command#924
xaf merged 1 commit into
mainfrom
xaf/fix_omni_subcommand_env_var_on_did_you_mean

Conversation

@xaf

@xaf xaf commented Jan 31, 2025

Copy link
Copy Markdown
Owner

At this time, the OMNI_SUBCOMMAND kept the original value used by the caller before selecting the real command from the Did you mean? menu; this led to issues for commands depending on OMNI_SUBCOMMAND to show the help, for instance.

This is now fixed as it will set the OMNI_SUBCOMMAND environment variable to the selected command in the Did you mean? menu.

Fixes #919

At this time, the `OMNI_SUBCOMMAND` kept the original value used by the
caller before selecting the real command from the `Did you mean?` menu;
this led to issues for commands depending on `OMNI_SUBCOMMAND` to show
the help, for instance.

This is now fixed as it will set the `OMNI_SUBCOMMAND` environment
variable to the selected command in the `Did you mean?` menu.

Fixes #919
@xaf xaf added the bug Something isn't working label Jan 31, 2025
@xaf xaf enabled auto-merge (squash) January 31, 2025 22:34
@github-actions github-actions Bot added the rust Pull requests that update Rust code label Jan 31, 2025
@xaf xaf merged commit 17211dc into main Jan 31, 2025
@xaf xaf deleted the xaf/fix_omni_subcommand_env_var_on_did_you_mean branch January 31, 2025 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Did you mean" should still set the correct OMNI_SUBCOMMAND

1 participant