fixed description of --output

Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
This commit is contained in:
Andreas Ulm 2019-05-09 11:11:41 +02:00
parent f7d5eb118d
commit 724948c68e
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ var RepoFlag = cli.StringFlag{
// OutputFlag provides flag to specify output type // OutputFlag provides flag to specify output type
var OutputFlag = cli.StringFlag{ var OutputFlag = cli.StringFlag{
Name: "output, o", Name: "output, o",
Usage: "Indicate one repository, optional when inside a gitea repository", Usage: "Specify output format. (csv, simple, table, tsv, yaml)",
Destination: &outputValue, Destination: &outputValue,
} }
@ -60,7 +60,7 @@ var RepoDefaultFlags = append([]cli.Flag{
func initCommand() (*Login, string, string) { func initCommand() (*Login, string, string) {
err := loadConfig(yamlConfigPath) err := loadConfig(yamlConfigPath)
if err != nil { if err != nil {
log.Fatal("load config file failed", yamlConfigPath) log.Fatal("load config file failed ", yamlConfigPath)
} }
var login *Login var login *Login