X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=blobdiff_plain;f=PVE%2FAPIClient%2FCommands%2Flist.pm;h=2030c515423d0fecbd393a1395e37da62562785c;hp=f12ef8718766820e137f007708a9a3e6640f5600;hb=b5aeedb0629a748eb3ac6d643c2c418d331fa57d;hpb=4db9ff67bc9b370e179e568f102be9242323632a;ds=sidebyside diff --git a/PVE/APIClient/Commands/list.pm b/PVE/APIClient/Commands/list.pm index f12ef87..2030c51 100644 --- a/PVE/APIClient/Commands/list.pm +++ b/PVE/APIClient/Commands/list.pm @@ -31,7 +31,7 @@ __PACKAGE__->register_method ({ my $conn = PVE::APIClient::Config->remote_conn($config, $param->{remote}); my $resources = $conn->get('api2/json/cluster/resources', { type => 'vm' }); - if (!defined($param->{format}) or $param->{format} eq 'table') { + if (!defined($param->{format}) or $param->{format} eq 'text') { my $headers = ['Node', 'VMID', 'Type', 'Name', 'Status']; my $data = []; for my $el (@$resources) {