From 2e686b618172c0389e747ccfa197724294aa5719 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Wed, 18 Dec 2024 07:35:49 +1100 Subject: [PATCH] fix: FTL init dir (#3791) --- 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."`