Skip to content

Commit 209701b

Browse files
committed
cargo login: make login message less ambiguous
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.
1 parent 2d5c238 commit 209701b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/registry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ pub fn registry_login(
665665
None => {
666666
drop_println!(
667667
config,
668-
"please visit {}/me and paste the API Token below",
668+
"please paste the API Token found on {}/me below",
669669
registry.host()
670670
);
671671
let mut line = String::new();

0 commit comments

Comments
 (0)