Clean flags

* Reduce the amount of global flags
* Unexport all flag vars and commands vars
* Some other minor flag cleaning
This commit is contained in:
Bjørn Erik Pedersen
2016-02-05 18:41:40 +01:00
parent bd0176a548
commit 87ca0d0cbe
5 changed files with 171 additions and 124 deletions

View File

@@ -26,7 +26,7 @@ and will give feedback.`,
}
func init() {
initCoreCommonFlags(checkCmd)
initHugoBuilderFlags(checkCmd)
checkCmd.RunE = check
}