mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
fix(cli): Be more specific in what is needed
This commit is contained in:
parent
adea3d148e
commit
802cb380ed
@ -452,7 +452,7 @@ pub trait ArgMatchesExt {
|
||||
"rustc --print target-list"
|
||||
};
|
||||
bail!(
|
||||
"\"--target\" takes an argument.
|
||||
"\"--target\" takes a target architecture as an argument.
|
||||
|
||||
Run `{cmd}` to see possible targets."
|
||||
);
|
||||
|
@ -166,7 +166,7 @@ No tests available.
|
||||
.cargo(&format!("{} --target", command))
|
||||
.with_stderr(
|
||||
"\
|
||||
error: \"--target\" takes an argument.
|
||||
error: \"--target\" takes a target architecture as an argument.
|
||||
|
||||
Run `[..]` to see possible targets.
|
||||
",
|
||||
|
Loading…
x
Reference in New Issue
Block a user