From ad2969f08457ce59f4c3c1d8538d417e3f794b96 Mon Sep 17 00:00:00 2001 From: Takayuki Nakata Date: Wed, 18 Dec 2019 09:46:13 +0900 Subject: [PATCH] Update the output of `cargo -Z help` `--registry` flag is already stabilized at 737382d7e. --- src/bin/cargo/cli.rs | 2 +- tests/testsuite/cargo_command.rs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bin/cargo/cli.rs b/src/bin/cargo/cli.rs index e71fbe084..b87d44762 100644 --- a/src/bin/cargo/cli.rs +++ b/src/bin/cargo/cli.rs @@ -32,7 +32,7 @@ Available unstable (nightly-only) flags: -Z avoid-dev-deps -- Avoid installing dev-dependencies if possible -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 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 timings -- Display concurrency information -Z doctest-xcompile -- Compile and run doctests for non-host target using runner config diff --git a/tests/testsuite/cargo_command.rs b/tests/testsuite/cargo_command.rs index 25e4bf9c5..4c0ae2f12 100644 --- a/tests/testsuite/cargo_command.rs +++ b/tests/testsuite/cargo_command.rs @@ -376,8 +376,6 @@ fn explain() { #[cargo_test] fn z_flags_help() { cargo_process("-Z help") - .with_stdout_contains( - " -Z unstable-options -- Allow the usage of unstable options such as --registry", - ) + .with_stdout_contains(" -Z unstable-options -- Allow the usage of unstable options") .run(); }