]> git.proxmox.com Git - pve-client.git/blobdiff - PVE/APIClient/Commands/list.pm
register stanadard option 'pveclient-output-format'
[pve-client.git] / PVE / APIClient / Commands / list.pm
index db00da71256ffcdb78cd0bcea081f570db67c446..f12ef8718766820e137f007708a9a3e6640f5600 100644 (file)
@@ -20,13 +20,7 @@ __PACKAGE__->register_method ({
        additionalProperties => 0,
        properties => {
            remote => get_standard_option('pveclient-remote-name'),
-           format => {
-               type => 'string',
-               description => 'Output format',
-               enum => [ 'table', 'json' ],
-               optional => 1,
-               default => 'table',
-           }
+           format => get_standard_option('pveclient-output-format'),
        },
     },
     returns => { type => 'null'},