Skip to content

Commit 5145bd2

Browse files
committed
Auto merge of #10327 - hi-rustin:rustin-patch-host, r=ehuss
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.
2 parents f894215 + d8ef898 commit 5145bd2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/cargo/util/command_prelude.rs

-5
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,6 @@ pub trait AppExt: Sized {
211211

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

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

0 commit comments

Comments
 (0)