diff --git a/src/cli.zig b/src/cli.zig index 54037e2965..792ff2012b 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -235,7 +235,7 @@ pub const Arguments = struct { }; const auto_or_run_params = [_]ParamType{ - clap.parseParam("--filter ... Run a script in all workspace packages matching the pattern") catch unreachable, + clap.parseParam("-F, --filter ... Run a script in all workspace packages matching the pattern") catch unreachable, clap.parseParam("-b, --bun Force a script or package to use Bun's runtime instead of Node.js (via symlinking node)") catch unreachable, clap.parseParam("--shell Control the shell used for package.json scripts. Supports either 'bun' or 'system'") catch unreachable, }; diff --git a/src/install/install.zig b/src/install/install.zig index cd557fa007..fd61861e5c 100644 --- a/src/install/install.zig +++ b/src/install/install.zig @@ -9573,7 +9573,7 @@ pub const PackageManager = struct { const outdated_params: []const ParamType = &(shared_params ++ [_]ParamType{ // clap.parseParam("--json Output outdated information in JSON format") catch unreachable, - clap.parseParam("--filter ... Display outdated dependencies for each matching workspace") catch unreachable, + clap.parseParam("-F, --filter ... Display outdated dependencies for each matching workspace") catch unreachable, clap.parseParam(" ... Package patterns to filter by") catch unreachable, }); diff --git a/test/cli/run/filter-workspace.test.ts b/test/cli/run/filter-workspace.test.ts index 2d5b4f4fe9..8a6b064a77 100644 --- a/test/cli/run/filter-workspace.test.ts +++ b/test/cli/run/filter-workspace.test.ts @@ -110,7 +110,7 @@ function runInCwdSuccess({ cmd.push("--filter", p); } } else { - cmd.push("--filter", pattern); + cmd.push("-F", pattern); } for (const c of command) {