Update the output of cargo -Z help

`--registry` flag is already stabilized at 737382d7e.
This commit is contained in:
Takayuki Nakata 2019-12-18 09:46:13 +09:00
parent fc29c9cae1
commit ad2969f084
2 changed files with 2 additions and 4 deletions

View File

@ -32,7 +32,7 @@ Available unstable (nightly-only) flags:
-Z avoid-dev-deps -- Avoid installing dev-dependencies if possible -Z avoid-dev-deps -- Avoid installing dev-dependencies if possible
-Z minimal-versions -- Install minimal dependency versions instead of maximum -Z minimal-versions -- Install minimal dependency versions instead of maximum
-Z no-index-update -- Do not update the registry, avoids a network request for benchmarking -Z no-index-update -- Do not update the registry, avoids a network request for benchmarking
-Z unstable-options -- Allow the usage of unstable options such as --registry -Z unstable-options -- Allow the usage of unstable options
-Z config-profile -- Read profiles from .cargo/config files -Z config-profile -- Read profiles from .cargo/config files
-Z timings -- Display concurrency information -Z timings -- Display concurrency information
-Z doctest-xcompile -- Compile and run doctests for non-host target using runner config -Z doctest-xcompile -- Compile and run doctests for non-host target using runner config

View File

@ -376,8 +376,6 @@ fn explain() {
#[cargo_test] #[cargo_test]
fn z_flags_help() { fn z_flags_help() {
cargo_process("-Z help") cargo_process("-Z help")
.with_stdout_contains( .with_stdout_contains(" -Z unstable-options -- Allow the usage of unstable options")
" -Z unstable-options -- Allow the usage of unstable options such as --registry",
)
.run(); .run();
} }