Skip to content

Commit

Permalink
Auto merge of #10328 - ehuss:beta-host-arg, r=alexcrichton
Browse files Browse the repository at this point in the history
[beta] backport remove --host flag

This is a beta backport of #10327.  I would feel more comfortable having the complete fix for #10145 since the deprecation notice was removed in that PR.
  • Loading branch information
bors committed Jan 25, 2022
2 parents 0d79f76 + 83b3e35 commit 5ad495c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/cargo/util/command_prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,6 @@ pub trait AppExt: Sized {

fn arg_index(self) -> Self {
self._arg(opt("index", "Registry index URL to upload the package to").value_name("INDEX"))
._arg(
opt("host", "DEPRECATED, renamed to '--index'")
.value_name("HOST")
.hidden(true),
)
}

fn arg_dry_run(self, dry_run: &'static str) -> Self {
Expand Down

0 comments on commit 5ad495c

Please sign in to comment.