mirror of
https://gitea.com/gitea/tea.git
synced 2026-02-22 06:13:32 +01:00
fixed minor typo and grammar issue (#892)
Reviewed-on: https://gitea.com/gitea/tea/pulls/892 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com> Co-authored-by: boozedog <boozedog@noreply.gitea.com> Co-committed-by: boozedog <boozedog@noreply.gitea.com>
This commit is contained in:
@@ -93,7 +93,7 @@ var CmdLoginHelper = cli.Command{
|
||||
}
|
||||
|
||||
if len(wants["host"]) == 0 {
|
||||
log.Fatal("Require hostname")
|
||||
log.Fatal("Hostname is required")
|
||||
} else if len(wants["protocol"]) == 0 {
|
||||
wants["protocol"] = "http"
|
||||
}
|
||||
@@ -113,7 +113,7 @@ var CmdLoginHelper = cli.Command{
|
||||
}
|
||||
|
||||
if len(userConfig.Token) == 0 {
|
||||
log.Fatal("User no set")
|
||||
log.Fatal("User not set")
|
||||
}
|
||||
|
||||
host, err := url.Parse(userConfig.URL)
|
||||
|
||||
Reference in New Issue
Block a user