mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-23 19:11:38 +01:00
fixed config variable
Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
This commit is contained in:
parent
17054a3bcf
commit
46e59ee72e
@ -44,7 +44,7 @@ var OutputFlag = cli.StringFlag{
|
||||
var ConfigFlag = cli.StringFlag{
|
||||
Name: "config, c",
|
||||
Usage: "Specify tea.yml path",
|
||||
Destination: &outputValue,
|
||||
Destination: &configValue,
|
||||
}
|
||||
|
||||
// DefaultFlags defines flags that should be available
|
||||
@ -69,7 +69,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
|
||||
|
Loading…
Reference in New Issue
Block a user