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:
boozedog
2026-02-07 16:02:20 +00:00
committed by techknowlogick
parent 49a9032d8a
commit 3595f8f89d

View File

@@ -93,7 +93,7 @@ var CmdLoginHelper = cli.Command{
} }
if len(wants["host"]) == 0 { if len(wants["host"]) == 0 {
log.Fatal("Require hostname") log.Fatal("Hostname is required")
} else if len(wants["protocol"]) == 0 { } else if len(wants["protocol"]) == 0 {
wants["protocol"] = "http" wants["protocol"] = "http"
} }
@@ -113,7 +113,7 @@ var CmdLoginHelper = cli.Command{
} }
if len(userConfig.Token) == 0 { if len(userConfig.Token) == 0 {
log.Fatal("User no set") log.Fatal("User not set")
} }
host, err := url.Parse(userConfig.URL) host, err := url.Parse(userConfig.URL)