aboutsummaryrefslogtreecommitdiff
path: root/src/install/install.zig
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-09-13 19:33:49 -0700
committerGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-09-13 19:33:49 -0700
commit17b5f79567e8ae5e8ef76ffe342258a9d64eaf8b (patch)
tree8327107619388f133ebca00e57ca6f083b6163a9 /src/install/install.zig
parent64033f11cc42e000ea3a67d7790359eeb21a7a00 (diff)
downloadbun-save-in-update.tar.gz
bun-save-in-update.tar.zst
bun-save-in-update.zip
Remove --save from helptextsave-in-update
Diffstat (limited to 'src/install/install.zig')
-rw-r--r--src/install/install.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/install/install.zig b/src/install/install.zig
index bcf33cb53..49dc24486 100644
--- a/src/install/install.zig
+++ b/src/install/install.zig
@@ -5763,7 +5763,6 @@ pub const PackageManager = struct {
clap.parseParam("-y, --yarn Write a yarn.lock file (yarn v1)") catch unreachable,
clap.parseParam("-p, --production Don't install devDependencies") catch unreachable,
clap.parseParam("--no-save Don't save a lockfile") catch unreachable,
- clap.parseParam("--save Save to package.json") catch unreachable,
clap.parseParam("--dry-run Don't install anything") catch unreachable,
clap.parseParam("--lockfile <PATH> Store & load a lockfile at a specific filepath") catch unreachable,
clap.parseParam("--frozen-lockfile Disallow changes to lockfile") catch unreachable,
@@ -5816,10 +5815,12 @@ pub const PackageManager = struct {
};
const link_params = install_params_ ++ [_]ParamType{
+ clap.parseParam("--save Add dependency to package.json") catch unreachable,
clap.parseParam("<POS> ... \"name\" install package as a link") catch unreachable,
};
const unlink_params = install_params_ ++ [_]ParamType{
+ clap.parseParam("--save Add dependency to package.json") catch unreachable,
clap.parseParam("<POS> ... \"name\" uninstall package as a link") catch unreachable,
};