X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=src%2FPVE%2FJSONSchema.pm;h=aa82167346b052ecbff30596d89bf92e382e3ce0;hp=793ec60c7465d27a04359b7d3387c17054fbf18b;hb=ac15655f452fbcdfa44ffdd83822bbe353cd1767;hpb=03c1e2a061c6e47f9ffeacd379a69fb670cb7f4d diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index 793ec60..aa82167 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -105,6 +105,14 @@ register_standard_option('fingerprint-sha256', { pattern => '([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}', }); +register_standard_option('pve-output-format', { + type => 'string', + description => 'Output format.', + enum => [ 'text', 'plain', 'json' ], + optional => 1, + default => 'text', +}); + my $format_list = {}; sub register_format {