Merge pull request #1898 from superbrothers/stdout
Fix "get" commands to use stdout instead of stderr
This commit is contained in:
@@ -177,7 +177,7 @@ func (get getCommand) run(cmd *cobra.Command, args []string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
utils.PrintTable(cmd.OutOrStderr(), header, rows)
|
utils.PrintTable(cmd.OutOrStdout(), header, rows)
|
||||||
|
|
||||||
if getAll {
|
if getAll {
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
|
|||||||
Reference in New Issue
Block a user