From 4e5bfc9b82f1d17586b64a04004cc532084cf43c Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Thu, 14 Sep 2017 13:30:51 +0200 Subject: [PATCH] update --help text for new implicit --all behavior --- src/bin/bench.rs | 3 ++- src/bin/build.rs | 2 +- src/bin/check.rs | 4 ++++ src/bin/doc.rs | 3 ++- src/bin/test.rs | 3 ++- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/bin/bench.rs b/src/bin/bench.rs index f0921667c..e3cacfac3 100644 --- a/src/bin/bench.rs +++ b/src/bin/bench.rs @@ -86,7 +86,8 @@ the current package is benchmarked. For more information on SPEC and its format, see the `cargo help pkgid` command. All packages in the workspace are benchmarked if the `--all` flag is supplied. The -`--all` flag may be supplied in the presence of a virtual manifest. +`--all` flag is automatically assumed for a virtual manifest. +Note that `--exclude` has to be specified in conjunction with the `--all` flag. The --jobs argument affects the building of the benchmark executable but does not affect how many jobs are used when running the benchmarks. diff --git a/src/bin/build.rs b/src/bin/build.rs index b40741092..89e63b517 100644 --- a/src/bin/build.rs +++ b/src/bin/build.rs @@ -79,7 +79,7 @@ current package is built. For more information on SPEC and its format, see the `cargo help pkgid` command. All packages in the workspace are built if the `--all` flag is supplied. The -`--all` flag may be supplied in the presence of a virtual manifest. +`--all` flag is automatically assumed for a virtual manifest. Note that `--exclude` has to be specified in conjunction with the `--all` flag. Compilation can be configured via the use of profiles which are configured in diff --git a/src/bin/check.rs b/src/bin/check.rs index a89a3b579..488071d62 100644 --- a/src/bin/check.rs +++ b/src/bin/check.rs @@ -46,6 +46,10 @@ which indicates which package should be built. If it is not given, then the current package is built. For more information on SPEC and its format, see the `cargo help pkgid` command. +All packages in the workspace are checked if the `--all` flag is supplied. The +`--all` flag is automatically assumed for a virtual manifest. +Note that `--exclude` has to be specified in conjunction with the `--all` flag. + Compilation can be configured via the use of profiles which are configured in the manifest. The default profile for this command is `dev`, but passing the --release flag will use the `release` profile instead. diff --git a/src/bin/doc.rs b/src/bin/doc.rs index ec45feef1..836b10ca6 100644 --- a/src/bin/doc.rs +++ b/src/bin/doc.rs @@ -65,7 +65,8 @@ By default the documentation for the local package and all dependencies is built. The output is all placed in `target/doc` in rustdoc's usual format. All packages in the workspace are documented if the `--all` flag is supplied. The -`--all` flag may be supplied in the presence of a virtual manifest. +`--all` flag is automatically assumed for a virtual manifest. +Note that `--exclude` has to be specified in conjunction with the `--all` flag. If the --package argument is given, then SPEC is a package id specification which indicates which package should be documented. If it is not given, then the diff --git a/src/bin/test.rs b/src/bin/test.rs index b27421a2b..7e30e38e6 100644 --- a/src/bin/test.rs +++ b/src/bin/test.rs @@ -92,7 +92,8 @@ current package is tested. For more information on SPEC and its format, see the `cargo help pkgid` command. All packages in the workspace are tested if the `--all` flag is supplied. The -`--all` flag may be supplied in the presence of a virtual manifest. +`--all` flag is automatically assumed for a virtual manifest. +Note that `--exclude` has to be specified in conjunction with the `--all` flag. The --jobs argument affects the building of the test executable but does not affect how many jobs are used when running the tests. The default value -- 2.30.2