add comment and correct spelling error
This commit is contained in:
parent
fea598e1d7
commit
03ccf1aba9
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue