Skip to content

Commit

Permalink
Merge pull request #295 from docker/no-stderr-for-cmds
Browse files Browse the repository at this point in the history
Set the default output for all cobra commands to be STDOUT
  • Loading branch information
diogomonica committed Nov 15, 2015
2 parents 4f347a1 + 238ee32 commit 378888f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/notary/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 378888f

Please sign in to comment.