Skip to content

Commit

Permalink
docs(ref): Add a caution about default-members with root package
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Apr 25, 2024
1 parent 2289026 commit 50adf47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/doc/src/reference/workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ members = ["path/to/member1", "path/to/member2", "path/to/member3/*"]
default-members = ["path/to/member2", "path/to/member3/foo"]
```

> Note: when a [root package](#root-package) is present,
> you can only operate on it using `--package` and `--workspace` flags.
When unspecified, the [root package](#root-package) will be used.
In the case of a [virtual workspace](#virtual-workspace), all members will be used
(as if `--workspace` were specified on the command-line).
Expand Down

0 comments on commit 50adf47

Please sign in to comment.