Skip to content

Commit

Permalink
Remove deprecated --host arg for search and publish cmds
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <[email protected]>
  • Loading branch information
Rustin170506 committed Jan 25, 2022
1 parent 9978fd7 commit d8ef898
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 @@ -211,11 +211,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")
.hide(true),
)
}

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

0 comments on commit d8ef898

Please sign in to comment.