Fix "get" subcommands to use stdout instead of stderr

Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
This commit is contained in:
Kazuki Suda
2021-10-06 10:28:59 +09:00
parent e6bbed162d
commit dd81ed896b

View File

@ -177,7 +177,7 @@ func (get getCommand) run(cmd *cobra.Command, args []string) error {
return err
}
utils.PrintTable(cmd.OutOrStderr(), header, rows)
utils.PrintTable(cmd.OutOrStdout(), header, rows)
if getAll {
fmt.Println()