Skip to content

Commit

Permalink
Auto merge of rust-lang#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

close rust-lang#10304

Remove deprecated --host arg for search and publish cmds.
  • Loading branch information
bors authored and ehuss committed Jan 25, 2022
1 parent 0d79f76 commit 83b3e35
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 83b3e35

Please sign in to comment.