aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands/import.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-05-28 10:44:40 +0200
committerBjørn Erik Pedersen <[email protected]>2023-05-28 12:55:44 +0200
commit43f1282e734f5a27f99ff6efb29190a234b3447a (patch)
tree0e58d06118a6d13c93fed23baa13563fd3da2395 /commands/import.go
parente96cdfe9664cb38c3e16cc00cc630cf6f258d547 (diff)
downloadhugo-43f1282e734f5a27f99ff6efb29190a234b3447a.tar.gz
hugo-43f1282e734f5a27f99ff6efb29190a234b3447a.zip
commands: Reinstate some of the removed build flags (e.g. --theme) to new and mod
Fixes #11018
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")
},
},