avoid call to query_terminal_options
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Sep 2018 05:18:23 +0000 (07:18 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Sep 2018 05:18:23 +0000 (07:18 +0200)
This is now called inside print_api_result.

PVE/APIClient/Commands/config.pm

index 89b4728..44e8fcb 100644 (file)
@@ -97,7 +97,6 @@ our $cmddef = {
             sub {
                 my ($data, $schema, $options) = @_;
 
-                PVE::APIClient::CLIFormatter::query_terminal_options($options);
                 PVE::APIClient::CLIFormatter::print_api_result($data, $schema, undef, $options);
             },
             $PVE::APIClient::RESTHandler::standard_output_options,