summaryrefslogtreecommitdiffstats
path: root/commands/commands.go
diff options
context:
space:
mode:
authorKris Budhram <krisbudhram@users.noreply.github.com>2018-11-17 22:20:43 -0500
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-11-18 19:09:28 +0100
commite82b2dc8c1628f2da33e5fb0bae1b03e0594ad2c (patch)
treee4f66ce1f18c6361ed522e391b91185435008f3b /commands/commands.go
parent5df2b79dd2734e9a00ed1692328f58c385676468 (diff)
Fix ignored --config flag with 'new' command
Diffstat (limited to 'commands/commands.go')
-rw-r--r--commands/commands.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/commands.go b/commands/commands.go
index 1bbcf8038..0a6ea8860 100644
--- a/commands/commands.go
+++ b/commands/commands.go
@@ -18,7 +18,6 @@ import (
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/helpers"
"github.com/spf13/cobra"
-
"github.com/spf13/nitro"
)
@@ -46,7 +45,7 @@ func (b *commandsBuilder) addAll() *commandsBuilder {
newCheckCmd(),
b.newBenchmarkCmd(),
newConvertCmd(),
- newNewCmd(),
+ b.newNewCmd(),
newListCmd(),
newImportCmd(),
newGenCmd(),