]> git.proxmox.com Git - pve-client.git/blobdiff - PVE/APIClient/CLIFormatter.pm
update files from pve-common
[pve-client.git] / PVE / APIClient / CLIFormatter.pm
index ed4f266b6c9f4576514879393fcec098c82e12ee..50977fc329105b5885f4a10d0f33016ad9a1cd48 100644 (file)
@@ -374,7 +374,7 @@ sub print_api_result {
        $options = { %$options }; # copy
     }
 
-    my $format = $options->{format} // 'text';
+    my $format = $options->{'output-format'} // 'text';
 
     return if $result_schema->{type} eq 'null';