|
@@ -1,7 +1,6 @@
|
|
|
package commands
|
|
package commands
|
|
|
|
|
|
|
|
import (
|
|
import (
|
|
|
- "flag"
|
|
|
|
|
"os"
|
|
"os"
|
|
|
|
|
|
|
|
"github.com/codegangsta/cli"
|
|
"github.com/codegangsta/cli"
|
|
@@ -23,7 +22,7 @@ func runDbCommand(command func(commandLine utils.CommandLine, sqlStore *sqlstore
|
|
|
cfg.Load(&setting.CommandLineArgs{
|
|
cfg.Load(&setting.CommandLineArgs{
|
|
|
Config: cmd.String("config"),
|
|
Config: cmd.String("config"),
|
|
|
HomePath: cmd.String("homepath"),
|
|
HomePath: cmd.String("homepath"),
|
|
|
- Args: flag.Args(),
|
|
|
|
|
|
|
+ Args: context.Args(),
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
cfg.LogConfigSources()
|
|
cfg.LogConfigSources()
|