Skip to content

Commit

Permalink
Update the output of cargo -Z help
Browse files Browse the repository at this point in the history
`--registry` flag is already stabilized at 737382d.
  • Loading branch information
giraffate committed Dec 18, 2019
1 parent fc29c9c commit ad2969f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/bin/cargo/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions tests/testsuite/cargo_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

0 comments on commit ad2969f

Please sign in to comment.