mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 22:21:07 +03:00
parent
018602c46d
commit
4d32f2fa89
23 changed files with 299 additions and 336 deletions
|
@ -23,7 +23,7 @@ import (
|
|||
var _ cmder = (*limitCmd)(nil)
|
||||
|
||||
type limitCmd struct {
|
||||
cmd *cobra.Command
|
||||
*baseCmd
|
||||
}
|
||||
|
||||
func newLimitCmd() *limitCmd {
|
||||
|
@ -58,11 +58,7 @@ This is primarily to ensure that Hugo can watch enough files on some OSs`,
|
|||
},
|
||||
}
|
||||
|
||||
return &limitCmd{cmd: ccmd}
|
||||
}
|
||||
|
||||
func (c *limitCmd) getCommand() *cobra.Command {
|
||||
return c.cmd
|
||||
return &limitCmd{baseCmd: newBaseCmd(ccmd)}
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue