fix(cli): Be more specific in what is needed

This commit is contained in:
Ed Page 2023-08-31 08:56:16 -05:00
parent adea3d148e
commit 802cb380ed
2 changed files with 2 additions and 2 deletions

View File

@ -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."
);

View File

@ -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.
",