summaryrefslogtreecommitdiffstats
path: root/commands/hugo.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-09 20:37:17 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-11 09:48:56 +0200
commit2a2c9838671b5401331d20f8c72e2b934fe34e8d (patch)
tree178157d2cbf06b7360ea8add593213d2da76d020 /commands/hugo.go
parent15b1e269ade91ddc6a74c552bc61b0c5e527d268 (diff)
commands: Make the import commands non-global
See #4598
Diffstat (limited to 'commands/hugo.go')
-rw-r--r--commands/hugo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index 3a45c3046..6e3dc488d 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -202,7 +202,7 @@ func AddCommands() {
HugoCmd.AddCommand(newConvertCmd().getCommand())
HugoCmd.AddCommand(newNewCmd().getCommand())
HugoCmd.AddCommand(listCmd)
- HugoCmd.AddCommand(importCmd)
+ HugoCmd.AddCommand(newImportCmd().getCommand())
HugoCmd.AddCommand(genCmd)
genCmd.AddCommand(genautocompleteCmd)