Skip to content

Commit ad2969f

Browse files
committed
Update the output of cargo -Z help
`--registry` flag is already stabilized at 737382d.
1 parent fc29c9c commit ad2969f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/bin/cargo/cli.rs

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

tests/testsuite/cargo_command.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,6 @@ fn explain() {
376376
#[cargo_test]
377377
fn z_flags_help() {
378378
cargo_process("-Z help")
379-
.with_stdout_contains(
380-
" -Z unstable-options -- Allow the usage of unstable options such as --registry",
381-
)
379+
.with_stdout_contains(" -Z unstable-options -- Allow the usage of unstable options")
382380
.run();
383381
}

0 commit comments

Comments
 (0)