Skip to content

Commit 83b3e35

Browse files
borsehuss
authored andcommitted
Auto merge of #10327 - hi-rustin:rustin-patch-host, r=ehuss
Remove deprecated --host arg for search and publish cmds close #10304 Remove deprecated --host arg for search and publish cmds.
1 parent 0d79f76 commit 83b3e35

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/cargo/util/command_prelude.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,6 @@ pub trait AppExt: Sized {
212212

213213
fn arg_index(self) -> Self {
214214
self._arg(opt("index", "Registry index URL to upload the package to").value_name("INDEX"))
215-
._arg(
216-
opt("host", "DEPRECATED, renamed to '--index'")
217-
.value_name("HOST")
218-
.hidden(true),
219-
)
220215
}
221216

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

0 commit comments

Comments
 (0)