@@ -6,7 +6,7 @@ use std::cmp;
6
6
#[ derive( Deserialize ) ]
7
7
pub struct Options {
8
8
flag_index : Option < String > ,
9
- flag_host : Option < String > , // TODO: Depricated , remove
9
+ flag_host : Option < String > , // TODO: Deprecated , remove
10
10
flag_verbose : u32 ,
11
11
flag_quiet : Option < bool > ,
12
12
flag_color : Option < String > ,
@@ -49,7 +49,7 @@ pub fn execute(options: Options, config: &mut Config) -> CliResult {
49
49
& options. flag_z ) ?;
50
50
let Options {
51
51
flag_index : index,
52
- flag_host : host, // TODO: Depricated , remove
52
+ flag_host : host, // TODO: Deprecated , remove
53
53
flag_limit : limit,
54
54
arg_query : query,
55
55
flag_registry : registry,
@@ -61,7 +61,7 @@ pub fn execute(options: Options, config: &mut Config) -> CliResult {
61
61
requires -Zunstable-options to use.") . into ( ) )
62
62
}
63
63
64
- // TODO: Depricated
64
+ // TODO: Deprecated
65
65
// remove once it has been decided --host can be safely removed
66
66
// We may instead want to repurpose the host flag, as
67
67
// mentioned in this issue
@@ -70,7 +70,7 @@ pub fn execute(options: Options, config: &mut Config) -> CliResult {
70
70
let msg = "The flag '--host' is no longer valid.
71
71
72
72
Previous versions of Cargo accepted this flag, but it is being
73
- depricated . The flag is being renamed to 'index', as the flag
73
+ deprecated . The flag is being renamed to 'index', as the flag
74
74
wants the location of the index in which to search. Please
75
75
use '--index' instead.
76
76
0 commit comments