Cleanup handling of flags (#4717)
This commit is contained in:
parent
eca1cb533b
commit
98a43ad599
7 changed files with 32 additions and 60 deletions
|
|
@ -52,7 +52,7 @@ func runDump(cmd *cobra.Command, args []string) {
|
|||
|
||||
// setup environment
|
||||
if err == nil {
|
||||
err = configureEnvironment(conf)
|
||||
err = configureEnvironment(cmd, conf)
|
||||
}
|
||||
|
||||
var site *core.Site
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue