aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands/import.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/import.go')
-rw-r--r--commands/import.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/import.go b/commands/import.go
index 258323a3a..30ada15f8 100644
--- a/commands/import.go
+++ b/commands/import.go
@@ -59,7 +59,7 @@ Import from Jekyll requires two paths, e.g. ` + "`hugo import jekyll jekyll_root
}
return c.importFromJekyll(args)
},
- withc: func(cmd *cobra.Command) {
+ withc: func(cmd *cobra.Command, r *rootCommand) {
cmd.Flags().BoolVar(&c.force, "force", false, "allow import into non-empty target directory")
},
},