mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
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:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user