Skip to content

Commit 5ad495c

Browse files
committed
Auto merge of #10328 - ehuss:beta-host-arg, r=alexcrichton
[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.
2 parents 0d79f76 + 83b3e35 commit 5ad495c

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)