mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-23 19:11:38 +01:00
fixed description of --output
Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
This commit is contained in:
parent
f7d5eb118d
commit
724948c68e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user