]> git.proxmox.com Git - pve-client.git/blobdiff - PVE/APIClient/Config.pm
register stanadard option 'pveclient-output-format'
[pve-client.git] / PVE / APIClient / Config.pm
index 478e6589e2045e3a0647ad517bbf6007e491049e..ab84695d31875ad98a86c9a07a88d058dd579adb 100644 (file)
@@ -24,6 +24,14 @@ my $complete_remote_name = sub {
     return $list;
 };
 
+PVE::APIClient::JSONSchema::register_standard_option('pveclient-output-format', {
+    type => 'string',
+    description => 'Output format.',
+    enum => [ 'table', 'json' ],
+    optional => 1,
+    default => 'table',
+});
+
 PVE::APIClient::JSONSchema::register_standard_option('pveclient-remote-name', {
     description => "The name of the remote.",
     type => 'string',