From dcbdb9766ae78bfa51217cce01ba63e24ee9a718 Mon Sep 17 00:00:00 2001 From: Michael H Date: Sat, 18 Jan 2025 20:14:01 +1100 Subject: [PATCH] `--config` shouldn't have any point being optional now that its autoloaded --- src/cli.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.zig b/src/cli.zig index fb5e7e2d10..0c471c52ff 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -186,7 +186,7 @@ pub const Arguments = struct { const base_params_ = (if (Environment.isDebug) debug_params else [_]ParamType{}) ++ [_]ParamType{ clap.parseParam("--env-file ... Load environment variables from the specified file(s)") catch unreachable, clap.parseParam("--cwd Absolute path to resolve files & entry points from. This just changes the process' cwd.") catch unreachable, - clap.parseParam("-c, --config ? Specify path to Bun config file. Default $cwd/bunfig.toml") catch unreachable, + clap.parseParam("-c, --config Specify path to Bun config file. Default $cwd/bunfig.toml") catch unreachable, clap.parseParam("-h, --help Display this menu and exit") catch unreachable, } ++ (if (builtin.have_error_return_tracing) [_]ParamType{ // This will print more error return traces, as a debug aid