From 68cf7d6d227043fcb4cd8f261b7e42c4c85b16db Mon Sep 17 00:00:00 2001 From: Ahmad Moussawi Date: Fri, 6 Dec 2024 20:45:24 +0200 Subject: [PATCH] Fix wrong project name, `my-project` instead of `my-program` (#656) --- docs/programs/anchor/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/programs/anchor/index.md b/docs/programs/anchor/index.md index 2f66ecd0e..8b998aed3 100644 --- a/docs/programs/anchor/index.md +++ b/docs/programs/anchor/index.md @@ -61,7 +61,7 @@ name. This command creates a new directory with the specified name and sets up a default program and test file. ```shell filename="Terminal" -anchor init my-program +anchor init my-project ``` Navigate to the new project directory and open it in your code editor. @@ -70,7 +70,7 @@ Navigate to the new project directory and open it in your code editor. cd my-project ``` -The default Anchor program is located at `/programs/my-project/src/lib.rs`. +The default Anchor program is located at `programs/my-project/src/lib.rs`. @@ -137,7 +137,7 @@ If you prefer Rust for testing, initialize your project with the `--test-template rust` flag. ```shell -anchor init --test-template rust my-program +anchor init --test-template rust my-project ``` The Rust test file will be at `/tests/src/test_initialize.rs`.