Fix one more typo in cargo search command.
authorVasudev Kamath <vasudev@copyninja.info>
Sat, 28 Oct 2017 05:16:37 +0000 (10:46 +0530)
committerVasudev Kamath <vasudev@copyninja.info>
Sat, 28 Oct 2017 05:16:37 +0000 (10:46 +0530)
debian/patches/1001_fix_spelling_errors.patch

index 0f8c4727bd7555bcd1d36f603387444fda9ab254..e9001ae1f202b04bc49e8ee7df196e0ef9422603 100644 (file)
@@ -1,7 +1,7 @@
 Description: Fix spelling errors in cargo messages.
 Author: Vasudev Kamath <vasudev@copyninja.info>
 Forwarded: https://github.com/rust-lang/cargo/pull/4532
-Last-Update: 2017-09-23
+Last-Update: 2017-10-28
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/src/bin/search.rs
@@ -15,6 +15,15 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
      -v, --verbose ...        Use verbose output (-vv very verbose/build.rs output)
      -q, --quiet              No output printed to stdout
      --color WHEN             Coloring: auto, always, never
+@@ -62,7 +62,7 @@
+     let msg = "The flag '--host' is no longer valid.
+ Previous versions of Cargo accepted this flag, but it is being
+-depricated. The flag is being renamed to 'index', as the flag
++deprecated. The flag is being renamed to 'index', as the flag
+ wants the location of the index in which to search. Please
+ use '--index' instead.
 --- a/src/cargo/util/toml/mod.rs
 +++ b/src/cargo/util/toml/mod.rs
 @@ -693,19 +693,19 @@