X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=blobdiff_plain;f=pveclient;h=7688ffe7670cc335d25676280724bf519aa76b69;hp=2995fd5441e732bcf451828d7dca6f3b2cbde816;hb=c2bcfdb264f39e38f6e8ab4203b66eef0b95ab74;hpb=4fbacba6deb6f06b5b6dde2524583ae62ca1d6c3 diff --git a/pveclient b/pveclient index 2995fd5..7688ffe 100755 --- a/pveclient +++ b/pveclient @@ -108,7 +108,8 @@ $path_properties->{api_path} = { my $format_result = sub { my ($data) = @_; - PVE::APIClient::Helpers::print_result($data, $path_returns); + my $format = PVE::APIClient::Helpers::get_output_format(); + PVE::APIClient::CLIHandler::print_api_result($format, $data, $path_returns); }; __PACKAGE__->register_method ({