diff options
Diffstat (limited to 'commands/commands.go')
-rw-r--r-- | commands/commands.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/commands.go b/commands/commands.go index 4153c3cdf..b6e8dd469 100644 --- a/commands/commands.go +++ b/commands/commands.go @@ -131,8 +131,7 @@ type hugoCmd struct { var _ cmder = (*nilCommand)(nil) -type nilCommand struct { -} +type nilCommand struct{} func (c *nilCommand) getCommand() *cobra.Command { return nil @@ -281,7 +280,6 @@ func (cc *hugoBuilderCommon) handleCommonBuilderFlags(cmd *cobra.Command) { cmd.PersistentFlags().SetAnnotation("source", cobra.BashCompSubdirsInDir, []string{}) cmd.PersistentFlags().StringVarP(&cc.environment, "environment", "e", "", "build environment") cmd.PersistentFlags().StringP("themesDir", "", "", "filesystem path to themes directory") - cmd.PersistentFlags().BoolP("ignoreVendor", "", false, "ignores any _vendor directory") cmd.PersistentFlags().StringP("ignoreVendorPaths", "", "", "ignores any _vendor for module paths matching the given Glob pattern") } |