Skip to content

Commit d8ef898

Browse files
committed
Remove deprecated --host arg for search and publish cmds
Signed-off-by: hi-rustin <[email protected]>
1 parent 9978fd7 commit d8ef898

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
@@ -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)