Skip to content

fix: remove -w short flag from --workspace to resolve collision with --w#175

Open
schpetbot wants to merge 1 commit intomainfrom
schpetbot-pr-8be661bc
Open

fix: remove -w short flag from --workspace to resolve collision with --w#175
schpetbot wants to merge 1 commit intomainfrom
schpetbot-pr-8be661bc

Conversation

@schpetbot
Copy link
Collaborator

fix: remove -w short flag from --workspace to resolve collision with --web

The -w short flag was registered on both the global --workspace option
and the command-level --web option. Since Cliffy resolves global options
first, -w always mapped to --workspace, making --web unusable (both as
-w and --web due to prefix matching).

Remove the -w alias from --workspace so that -w correctly maps to --web
on commands that support it. Users can still use --workspace in full.

Fixes #174

…--web

The -w short flag was registered on both the global --workspace option and
command-level --web options, causing cliffy to always resolve -w as --workspace.
This removes -w from --workspace so that -w remains the short flag for --web.

Fixes #174
@schpetbot schpetbot force-pushed the schpetbot-pr-8be661bc branch from f3f1d1d to d75dfdb Compare March 13, 2026 02:44
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.

Bug: --web flag broken due to -w short flag collision with --workspace

2 participants