Skip to content

Commit

Permalink
cargo login: make login message less ambiguous
Browse files Browse the repository at this point in the history
The previous message
"please visit https://crates.io/me and paste the API Token below"
Had me waiting for a token to appear in the command line which I would then paste into the website.
Rephrase to
"please paste the api token found on https://crates.io/me below"
to clarify where to paste from and where to paste to.
  • Loading branch information
matthiaskrgr committed Aug 2, 2020
1 parent 2d5c238 commit 209701b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/ops/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ pub fn registry_login(
None => {
drop_println!(
config,
"please visit {}/me and paste the API Token below",
"please paste the API Token found on {}/me below",
registry.host()
);
let mut line = String::new();
Expand Down

0 comments on commit 209701b

Please sign in to comment.