add comment and correct spelling error

This commit is contained in:
Zoker 2020-06-13 17:38:39 +08:00
parent fea598e1d7
commit 03ccf1aba9
2 changed files with 3 additions and 3 deletions

View File

@ -158,8 +158,8 @@ func askForAccount() (string, bool, *http.BasicAuth) {
"grant_type": "password",
"username": "%s",
"password": "%s",
"client_id": "xxxx",
"client_secret": "xxxx",
"client_id": "xxxx", // client id from Gitee
"client_secret": "xxxx", // client secret from Gitee
"scope": "user_info projects groups enterprises"
}`, email, password)

View File

@ -275,7 +275,7 @@ func AskPublic(npType string) string {
namespace = append(namespace, "Inner public (Only enterprise members can see this repository)")
}
fmt.Printf("\n")
ques := "Please choose this project's public type: (new projects will apply)"
ques := "Please choose those project's public type: (new projects will apply)"
public := selectOne(namespace, ques)
return public
}