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

View File

@ -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