--config shouldn't have any point being optional now that its autoloaded

This commit is contained in:
Michael H
2025-01-18 20:14:01 +11:00
committed by GitHub
parent fb3691c084
commit dcbdb9766a

View File

@@ -186,7 +186,7 @@ pub const Arguments = struct {
const base_params_ = (if (Environment.isDebug) debug_params else [_]ParamType{}) ++ [_]ParamType{
clap.parseParam("--env-file <STR>... Load environment variables from the specified file(s)") catch unreachable,
clap.parseParam("--cwd <STR> Absolute path to resolve files & entry points from. This just changes the process' cwd.") catch unreachable,
clap.parseParam("-c, --config <PATH>? Specify path to Bun config file. Default <d>$cwd<r>/bunfig.toml") catch unreachable,
clap.parseParam("-c, --config <PATH> Specify path to Bun config file. Default <d>$cwd<r>/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