Merge pull request 'fix: suggest correct add-key subcommand when no easy login available' (#116) from tranzystorekk/forgejo-cli:auth-typo into main

Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/116
This commit is contained in:
Cyborus 2024-08-09 18:25:13 +00:00
commit 751730c90b

View file

@ -45,7 +45,7 @@ impl AuthCommand {
println!("{host_domain}{host_path} doesn't support easy login"); println!("{host_domain}{host_path} doesn't support easy login");
println!(); println!();
println!("Please visit {applications_url}"); println!("Please visit {applications_url}");
println!("to create a token, and use it to log in with `fj auth add-token`"); println!("to create a token, and use it to log in with `fj auth add-key`");
} }
} }
AuthCommand::Logout { host } => { AuthCommand::Logout { host } => {