From bb730b9ea5fb886683becf72367b24afd4bddeba Mon Sep 17 00:00:00 2001 From: Michael H Date: Sat, 18 Jan 2025 17:14:21 +1100 Subject: [PATCH] Switch bun `-p` from `--port` to `--print` (#16351) --- src/cli.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.zig b/src/cli.zig index baae6a111a..0f77727b7b 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -228,10 +228,10 @@ pub const Arguments = struct { clap.parseParam("--install Configure auto-install behavior. One of \"auto\" (default, auto-installs when no node_modules), \"fallback\" (missing packages only), \"force\" (always).") catch unreachable, clap.parseParam("-i Auto-install dependencies during execution. Equivalent to --install=fallback.") catch unreachable, clap.parseParam("-e, --eval Evaluate argument as a script") catch unreachable, - clap.parseParam("--print Evaluate argument as a script and print the result") catch unreachable, + clap.parseParam("-p, --print Evaluate argument as a script and print the result") catch unreachable, clap.parseParam("--prefer-offline Skip staleness checks for packages in the Bun runtime and resolve from disk") catch unreachable, clap.parseParam("--prefer-latest Use the latest matching versions of packages in the Bun runtime, always checking npm") catch unreachable, - clap.parseParam("-p, --port Set the default port for Bun.serve") catch unreachable, + clap.parseParam("--port Set the default port for Bun.serve") catch unreachable, clap.parseParam("-u, --origin ") catch unreachable, clap.parseParam("--conditions ... Pass custom conditions to resolve") catch unreachable, clap.parseParam("--fetch-preconnect ... Preconnect to a URL while code is loading") catch unreachable,