mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -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
|
||||
},
|
||||
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{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
hugo new site -h
|
||||
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'
|
||||
cd mysite
|
||||
checkfile hugo.toml
|
||||
|
|
Loading…
Reference in a new issue