aboutsummaryrefslogtreecommitdiff
path: root/src/cli.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.zig')
-rw-r--r--src/cli.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.zig b/src/cli.zig
index a223324a8..16ed1f5d1 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -163,7 +163,7 @@ pub const Arguments = struct {
clap.parseParam("--bunfile <STR> Use a .bun file (default: node_modules.bun)") catch unreachable,
clap.parseParam("--server-bunfile <STR> Use a .server.bun file (default: node_modules.server.bun)") 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>? Config file to load bun from (e.g. -c bunfig.json") catch unreachable,
+ clap.parseParam("-c, --config <PATH>? Config file to load bun from (e.g. -c bunfig.toml") catch unreachable,
clap.parseParam("--disable-react-fast-refresh Disable React Fast Refresh") catch unreachable,
clap.parseParam("--disable-hmr Disable Hot Module Reloading (disables fast refresh too)") catch unreachable,
clap.parseParam("--extension-order <STR>... defaults to: .tsx,.ts,.jsx,.js,.json ") catch unreachable,
@@ -237,7 +237,7 @@ pub const Arguments = struct {
var config_buf: [std.fs.MAX_PATH_BYTES]u8 = undefined;
var config_path_ = config_path__;
if (config_path_.len == 0) {
- config_path_ = "bunfig.json";
+ config_path_ = "bunfig.toml";
}
var config_path: [:0]u8 = undefined;
if (config_path_[0] == '/') {