Skip to content

Commit 58f2237

Browse files
committed
fix(cli): Be more specific in what is needed
1 parent 8156fcb commit 58f2237

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/util/command_prelude.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ pub trait ArgMatchesExt {
452452
"ustc --print target-list"
453453
};
454454
bail!(
455-
"\"--target\" takes an argument.
455+
"\"--target\" takes a target architecture as an argument.
456456
457457
Run `{cmd}` to see possible targets."
458458
);

tests/testsuite/list_availables.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ No tests available.
166166
.cargo(&format!("{} --target", command))
167167
.with_stderr(
168168
"\
169-
error: \"--target\" takes an argument.
169+
error: \"--target\" takes a target architecture as an argument.
170170
171171
Run `[..]` to see possible targets.
172172
",

0 commit comments

Comments
 (0)