Set the default output for all cobra commands to be STDOUT

Signed-off-by: Ying Li <ying.li@docker.com>
This commit is contained in:
Ying Li
2015-11-15 02:46:29 -08:00
parent 53626b6fe6
commit 238ee32c78

View File

@@ -131,6 +131,7 @@ func main() {
Short: "Notary allows the creation of trusted collections.",
Long: "Notary allows the creation and management of collections of signed targets, allowing the signing and validation of arbitrary content.",
}
notaryCmd.SetOutput(os.Stdout)
setupCommand(notaryCmd)
notaryCmd.Execute()
}