aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jonah Snider <jonah@jonahsnider.com> 2023-09-20 11:14:55 -0700
committerGravatar GitHub <noreply@github.com> 2023-09-20 11:14:55 -0700
commit67defd95afb8f19259b2bde9be10e1a76a8137b5 (patch)
tree19354b3323951e16b03b414adbf53bf0c627a94e /src
parentaa3355dc823b9166c162094bad55c90bf15d144c (diff)
downloadbun-67defd95afb8f19259b2bde9be10e1a76a8137b5.tar.gz
bun-67defd95afb8f19259b2bde9be10e1a76a8137b5.tar.zst
bun-67defd95afb8f19259b2bde9be10e1a76a8137b5.zip
[bun install] Add `-E` as alias of `--exact` (#5104)
* [bun install] Add `-E` as alias of `--exact` * Add test for -E flag
Diffstat (limited to 'src')
-rw-r--r--src/install/install.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/install/install.zig b/src/install/install.zig
index 28a96643d..128534191 100644
--- a/src/install/install.zig
+++ b/src/install/install.zig
@@ -5828,7 +5828,7 @@ pub const PackageManager = struct {
clap.parseParam("-d, --dev Add dependency to \"devDependencies\"") catch unreachable,
clap.parseParam("-D, --development") catch unreachable,
clap.parseParam("--optional Add dependency to \"optionalDependencies\"") catch unreachable,
- clap.parseParam("--exact Add the exact version instead of the ^range") catch unreachable,
+ clap.parseParam("-E, --exact Add the exact version instead of the ^range") catch unreachable,
clap.parseParam("<POS> ... ") catch unreachable,
};
@@ -5844,7 +5844,7 @@ pub const PackageManager = struct {
clap.parseParam("-d, --dev Add dependency to \"devDependencies\"") catch unreachable,
clap.parseParam("-D, --development") catch unreachable,
clap.parseParam("--optional Add dependency to \"optionalDependencies\"") catch unreachable,
- clap.parseParam("--exact Add the exact version instead of the ^range") catch unreachable,
+ clap.parseParam("-E, --exact Add the exact version instead of the ^range") catch unreachable,
clap.parseParam("<POS> ... \"name\" or \"name@version\" of packages to install") catch unreachable,
};