fix comments and descriptions

This commit is contained in:
Lunny Xiao
2019-03-12 09:36:14 +08:00
parent 4de0b04d77
commit 247a43691b
4 changed files with 18 additions and 18 deletions

View File

@@ -16,17 +16,17 @@ import (
// CmdPulls represents to login a gitea server.
var CmdPulls = cli.Command{
Name: "pulls",
Usage: "Log in a Gitea server",
Description: `Log in a Gitea server`,
Usage: "Operate with pulls of the repository",
Description: `Operate with pulls of the repository`,
Action: runPulls,
Flags: []cli.Flag{
cli.StringFlag{
Name: "login, l",
Usage: "Indicate one login",
Usage: "Indicate one login, optional when inside a gitea repository",
},
cli.StringFlag{
Name: "repo, r",
Usage: "Indicate one repository",
Usage: "Indicate one repository, optional when inside a gitea repository",
},
},
}