From 724948c68e6ca331f993e90989221d10a821dcbf Mon Sep 17 00:00:00 2001 From: Andreas Ulm Date: Thu, 9 May 2019 11:11:41 +0200 Subject: [PATCH] fixed description of --output Signed-off-by: Andreas Ulm --- cmd/flags.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/flags.go b/cmd/flags.go index 7d740d9..11fd2cb 100644 --- a/cmd/flags.go +++ b/cmd/flags.go @@ -35,7 +35,7 @@ var RepoFlag = cli.StringFlag{ // OutputFlag provides flag to specify output type var OutputFlag = cli.StringFlag{ Name: "output, o", - Usage: "Indicate one repository, optional when inside a gitea repository", + Usage: "Specify output format. (csv, simple, table, tsv, yaml)", Destination: &outputValue, } @@ -60,7 +60,7 @@ var RepoDefaultFlags = append([]cli.Flag{ func initCommand() (*Login, string, string) { err := loadConfig(yamlConfigPath) if err != nil { - log.Fatal("load config file failed", yamlConfigPath) + log.Fatal("load config file failed ", yamlConfigPath) } var login *Login