fixup tests

This commit is contained in:
Ethan Buchman
2017-11-27 19:52:06 +00:00
parent c7f54fb56c
commit fb612e5a7b
6 changed files with 29 additions and 14 deletions

View File

@ -96,10 +96,10 @@ var RootCmd = &cobra.Command{
},
}
func Execute() {
func Execute() error {
addGlobalFlags()
addCommands()
RootCmd.Execute()
return RootCmd.Execute()
}
func addGlobalFlags() {