diff --git a/src/install/install.zig b/src/install/install.zig index 312c4808e7..61fcd2dcba 100644 --- a/src/install/install.zig +++ b/src/install/install.zig @@ -6297,10 +6297,9 @@ pub const PackageManager = struct { \\ \\Examples: \\ + \\ bun add -g {s} \\ bun add {s} \\ bun add {s} - \\ bun add {s} - \\ bun add -g git-peek \\ , .{ examples_to_print[0], examples_to_print[1], examples_to_print[2] }); diff --git a/src/report.zig b/src/report.zig index 28c80a7b9f..075e2fc909 100644 --- a/src/report.zig +++ b/src/report.zig @@ -320,7 +320,7 @@ pub noinline fn globalError(err: anyerror) noreturn { Output.flush(); Global.exit(1); }, - error.InstallFailed => { + error.InvalidArgument, error.InstallFailed => { Global.exit(1); }, error.SystemFdQuotaExceeded => {