Skip to content

Commit

Permalink
Auto merge of #10327 - hi-rustin:rustin-patch-host, r=ehuss
Browse files Browse the repository at this point in the history
Remove deprecated --host arg for search and publish cmds

### What does this PR try to resolve?

close #10304

### How should we test and review this PR?

Remove deprecated --host arg for search and publish cmds.
  • Loading branch information
bors committed Jan 25, 2022
2 parents f894215 + d8ef898 commit 5145bd2
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 @@ -211,11 +211,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")
.hide(true),
)
}

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

0 comments on commit 5145bd2

Please sign in to comment.