]> git.proxmox.com Git - pve-client.git/blobdiff - PVE/APIClient/Commands/remote.pm
fixes for changes in pve-common
[pve-client.git] / PVE / APIClient / Commands / remote.pm
index bd13e2b103f42dcfe530a06870a8710565eb213f..5ca864abe088d6a94bad420ab06fb93430400568 100644 (file)
@@ -206,10 +206,13 @@ our $cmddef = {
     add => [ __PACKAGE__, 'remote_add', ['name', 'host', 'username']],
     set => [ __PACKAGE__, 'remote_set', ['name']],
     delete => [ __PACKAGE__, 'remote_delete', ['name']],
-    list => [__PACKAGE__, 'remote_list', undef, {}, sub {
-       my ($data, $schema, $options) = @_;
-       PVE::APIClient::Helpers::print_ordered_result($remote_list_returns_properties, $data, $schema, $options);
-    }],
+    list => [__PACKAGE__, 'remote_list', undef, {},
+            sub {
+                my ($data, $schema, $options) = @_;
+                PVE::APIClient::Helpers::print_ordered_result($remote_list_returns_properties, $data, $schema, $options);
+            },
+            $PVE::APIClient::RESTHandler::standard_output_options,
+       ],
 };
 
 1;