Address code review comments

Add some documentation.
Create new util.InitFlags() function to merge and parse in one step.
This commit is contained in:
Joe Beda
2015-01-14 14:59:55 -08:00
parent 1d0b6ee5f5
commit 6bd6b905f5
10 changed files with 36 additions and 17 deletions

View File

@@ -75,8 +75,7 @@ func verifyMinionFlags() {
}
func main() {
util.AddAllFlagsToPFlags()
flag.Parse()
util.InitFlags()
util.InitLogs()
defer util.FlushLogs()