@@ -538,6 +538,7 @@ Complete documentation is available at https://gohugo.io/.`
538
538
cmd .PersistentFlags ().StringP ("themesDir" , "" , "" , "filesystem path to themes directory" )
539
539
_ = cmd .MarkFlagDirname ("themesDir" )
540
540
cmd .PersistentFlags ().StringP ("ignoreVendorPaths" , "" , "" , "ignores any _vendor for module paths matching the given Glob pattern" )
541
+ cmd .PersistentFlags ().BoolP ("noBuildLock" , "" , false , "don't create .hugo_build.lock file" )
541
542
_ = cmd .RegisterFlagCompletionFunc ("ignoreVendorPaths" , cobra .NoFileCompletions )
542
543
cmd .PersistentFlags ().String ("clock" , "" , "set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00" )
543
544
_ = cmd .RegisterFlagCompletionFunc ("clock" , cobra .NoFileCompletions )
@@ -593,7 +594,6 @@ func applyLocalFlagsBuild(cmd *cobra.Command, r *rootCommand) {
593
594
cmd .Flags ().BoolVar (& r .forceSyncStatic , "forceSyncStatic" , false , "copy all files when static is changed." )
594
595
cmd .Flags ().BoolP ("noTimes" , "" , false , "don't sync modification time of files" )
595
596
cmd .Flags ().BoolP ("noChmod" , "" , false , "don't sync permission mode of files" )
596
- cmd .Flags ().BoolP ("noBuildLock" , "" , false , "don't create .hugo_build.lock file" )
597
597
cmd .Flags ().BoolP ("printI18nWarnings" , "" , false , "print missing translations" )
598
598
cmd .Flags ().BoolP ("printPathWarnings" , "" , false , "print warnings on duplicate target paths etc." )
599
599
cmd .Flags ().BoolP ("printUnusedTemplates" , "" , false , "print warnings on unused templates." )
0 commit comments