From 238ee32c785fe8bd7307406cec3f96aa81ad66a4 Mon Sep 17 00:00:00 2001 From: Ying Li Date: Sun, 15 Nov 2015 02:46:29 -0800 Subject: [PATCH] Set the default output for all cobra commands to be STDOUT Signed-off-by: Ying Li --- cmd/notary/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/notary/main.go b/cmd/notary/main.go index 7031a3806..64afff147 100644 --- a/cmd/notary/main.go +++ b/cmd/notary/main.go @@ -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() }