From 4d4ae98ddf3764f058dbd304a3cb036458e0ef11 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Tue, 17 Dec 2024 12:09:03 +1100 Subject: [PATCH] fix: FTL init dir --- frontend/cli/cmd_init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/cli/cmd_init.go b/frontend/cli/cmd_init.go index d4c670e78..0464ccc50 100644 --- a/frontend/cli/cmd_init.go +++ b/frontend/cli/cmd_init.go @@ -25,7 +25,7 @@ import ( type initCmd struct { Name string `arg:"" help:"Name of the project."` Hermit bool `help:"Include Hermit language-specific toolchain binaries." negatable:""` - Dir string `arg:"" help:"Directory to initialize the project in." default:"${gitroot}" required:""` + Dir string `arg:"" help:"Directory to initialize the project in." default:"." required:""` ModuleDirs []string `help:"Child directories of existing modules."` ModuleRoots []string `help:"Root directories of existing modules."` NoGit bool `help:"Don't add files to the git repository."`