mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-08 15:02:18 -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
6702b25758
commit
889a6b1893
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