From c40026137a9d2d25bc6008e610673fb5befa64f2 Mon Sep 17 00:00:00 2001 From: Akosh Farkash Date: Tue, 10 Dec 2024 09:25:57 +0000 Subject: [PATCH] Mention the default behaviour in the docs --- docs/docs/noir/modules_packages_crates/workspaces.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/noir/modules_packages_crates/workspaces.md b/docs/docs/noir/modules_packages_crates/workspaces.md index 513497f12bf..8e4ee3425fc 100644 --- a/docs/docs/noir/modules_packages_crates/workspaces.md +++ b/docs/docs/noir/modules_packages_crates/workspaces.md @@ -33,7 +33,9 @@ members = ["crates/a", "crates/b"] default-member = "crates/a" ``` -`members` indicates which packages are included in the workspace. As such, all member packages of a workspace will be processed when the `--workspace` flag is used with various commands or if a `default-member` is not specified. +`members` indicates which packages are included in the workspace. As such, all member packages of a workspace will be processed when the `--workspace` flag is used with various commands or if a `default-member` is not specified. The `--package` option can be used to limit +the scope of some commands to a specific member of the workspace; otherwise these commands run on the package nearest on the path to the +current directory where `nargo` was invoked. `default-member` indicates which package various commands process by default.