Skip to content

Commit cf4ccec

Browse files
committed
Auto merge of #4532 - copyninja:master, r=alexcrichton
Fix typo's in the cargo's output messages. I'm forwarding the patch we used in Debian to fix the typo's which were found in cargo's output messages.
2 parents d2d625d + 56589b6 commit cf4ccec

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/bin/search.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Usage:
2828
Options:
2929
-h, --help Print this message
3030
--index INDEX Registry index to search in
31-
--host HOST DEPRICATED, renamed to '--index'
31+
--host HOST DEPRECATED, renamed to '--index'
3232
-v, --verbose ... Use verbose output (-vv very verbose/build.rs output)
3333
-q, --quiet No output printed to stdout
3434
--color WHEN Coloring: auto, always, never

src/cargo/util/toml/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -694,19 +694,19 @@ impl TomlManifest {
694694
bail!("virtual manifests do not define [package]");
695695
}
696696
if me.lib.is_some() {
697-
bail!("virtual manifests do not specifiy [lib]");
697+
bail!("virtual manifests do not specify [lib]");
698698
}
699699
if me.bin.is_some() {
700-
bail!("virtual manifests do not specifiy [[bin]]");
700+
bail!("virtual manifests do not specify [[bin]]");
701701
}
702702
if me.example.is_some() {
703-
bail!("virtual manifests do not specifiy [[example]]");
703+
bail!("virtual manifests do not specify [[example]]");
704704
}
705705
if me.test.is_some() {
706-
bail!("virtual manifests do not specifiy [[test]]");
706+
bail!("virtual manifests do not specify [[test]]");
707707
}
708708
if me.bench.is_some() {
709-
bail!("virtual manifests do not specifiy [[bench]]");
709+
bail!("virtual manifests do not specify [[bench]]");
710710
}
711711

712712
let mut nested_paths = Vec::new();

src/etc/man/cargo-pkgid.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Coloring: auto, always, never.
4343
.RE
4444
.SH EXAMPLES
4545
.PP
46-
Retrive package specification for foo package
46+
Retrieve package specification for foo package
4747
.IP
4848
.nf
4949
\f[C]
@@ -59,7 +59,7 @@ $\ cargo\ pkgid\ foo:1.0.0
5959
\f[]
6060
.fi
6161
.PP
62-
Retrive package specification for foo from crates.io
62+
Retrieve package specification for foo from crates.io
6363
.IP
6464
.nf
6565
\f[C]

0 commit comments

Comments
 (0)