mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-27 12:01:04 -04:00
consistently use stdout and stderr (#502)
* consistently use stdout and stderr Signed-off-by: Fabian Kammel <fk@edgeless.systems>
This commit is contained in:
parent
e011c7ef78
commit
81a5907f26
14 changed files with 61 additions and 59 deletions
|
@ -28,7 +28,7 @@ func NewVersionCmd() *cobra.Command {
|
|||
func runVersion(cmd *cobra.Command, args []string) {
|
||||
buildInfo, ok := debug.ReadBuildInfo()
|
||||
if !ok {
|
||||
cmd.Printf("Unable to retrieve build info. Is buildvcs enabled?")
|
||||
cmd.PrintErrf("Unable to retrieve build info. Is buildvcs enabled?")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue