diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-23 16:35:49 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-11-23 16:35:49 +0100 |
commit | ff2498ee8951b09aa02657723078be143db4091d (patch) | |
tree | 4c297b642eb91ed39114a3c0787348de37bb624b /commands/check.go | |
parent | a6d584bfb602c8dd65259ce3dbf57e9297ebdd31 (diff) |
Remove ShowPlan
It is out of sync with reality, has some disabled tests, and the cost
of getting it up-to-date is too high to be worth it.
Diffstat (limited to 'commands/check.go')
-rw-r--r-- | commands/check.go | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/commands/check.go b/commands/check.go index 4537f3f0c..e5dbc1ffa 100644 --- a/commands/check.go +++ b/commands/check.go @@ -19,24 +19,5 @@ import ( var checkCmd = &cobra.Command{ Use: "check", - Short: "Check content in the source directory", - Long: `Hugo will perform some basic analysis on the content provided -and will give feedback.`, -} - -func init() { - initHugoBuilderFlags(checkCmd) - checkCmd.RunE = check -} - -func check(cmd *cobra.Command, args []string) error { - if err := InitializeConfig(checkCmd); err != nil { - return err - } - - if err := initSites(); err != nil { - return err - } - - return Hugo.Analyze() + Short: "Contains some verification checks", } |