From ba741301c8a437c489fbccfcd8abbee6783e9281 Mon Sep 17 00:00:00 2001 From: jbteves-sandia <134551825+jbteves-sandia@users.noreply.github.com> Date: Wed, 21 May 2025 15:35:40 -0400 Subject: [PATCH 1/2] Remove `--all-features` Remove `--all-features`, an option which does not exist in the current `cargo add`. --- src/doc/src/reference/features.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/doc/src/reference/features.md b/src/doc/src/reference/features.md index bf746df4629..a2c20aa8db2 100644 --- a/src/doc/src/reference/features.md +++ b/src/doc/src/reference/features.md @@ -245,9 +245,6 @@ enabled: `package-name/feature-name` syntax can be used to specify features for specific workspace members. -* `--all-features`: Activates all features of all packages selected on the - command-line. - * `--no-default-features`: Does not activate the [`default` feature](#the-default-feature) of the selected packages. From b081f2cf0dbc261144aa7f3c12c47212d3af38b9 Mon Sep 17 00:00:00 2001 From: jbteves-sandia <134551825+jbteves-sandia@users.noreply.github.com> Date: Tue, 3 Jun 2025 10:52:29 -0400 Subject: [PATCH 2/2] Update features.md --- src/doc/src/reference/features.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/doc/src/reference/features.md b/src/doc/src/reference/features.md index a2c20aa8db2..3af88ba3df8 100644 --- a/src/doc/src/reference/features.md +++ b/src/doc/src/reference/features.md @@ -244,9 +244,11 @@ enabled: "foo bar"`). If building multiple packages in a [workspace], the `package-name/feature-name` syntax can be used to specify features for specific workspace members. - +* `--all-features`: Activates all features of all packages selected on the command line. * `--no-default-features`: Does not activate the [`default` feature](#the-default-feature) of the selected packages. + +**NOTE**: check the individual subcommand documentation for details. Not all flags are available for all subcommands. [workspace]: workspaces.md