mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
f86b5f70a6
commit
901cd970db
2 changed files with 2 additions and 2 deletions
|
@ -148,7 +148,7 @@ Use ` + "`hugo new [contentPath]`" + ` to create new content.`,
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
withc: func(cmd *cobra.Command) {
|
withc: func(cmd *cobra.Command) {
|
||||||
cmd.Flags().BoolVar(&force, "force", false, "init inside non-empty directory")
|
cmd.Flags().BoolVarP(&force, "force", "f", false, "init inside non-empty directory")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
&simpleCommand{
|
&simpleCommand{
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
hugo new site -h
|
hugo new site -h
|
||||||
stdout 'Create a new site in the provided directory'
|
stdout 'Create a new site in the provided directory'
|
||||||
hugo new site mysite
|
hugo new site mysite -f
|
||||||
stdout 'Congratulations! Your new Hugo site is created in'
|
stdout 'Congratulations! Your new Hugo site is created in'
|
||||||
cd mysite
|
cd mysite
|
||||||
checkfile hugo.toml
|
checkfile hugo.toml
|
||||||
|
|
Loading…
Reference in a new issue