Skip to content

Commit

Permalink
Set the default output for all cobra commands to be STDOUT
Browse files Browse the repository at this point in the history
Signed-off-by: Ying Li <[email protected]>
  • Loading branch information
cyli committed Nov 15, 2015
1 parent 53626b6 commit 238ee32
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 238ee32

Please sign in to comment.