]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/JSONSchema.pm
JSONSchema: register 'pve-snapshot-name' here to avoid cyclic dependencies
[pve-common.git] / src / PVE / JSONSchema.pm
index 377d686c58f4bcfb570d6cb4f01b97f3082f2bd5..f0fc2aa0b1336bcbf17bd593957f26afcb996ecd 100644 (file)
@@ -113,6 +113,12 @@ register_standard_option('pve-output-format', {
     default => 'text',
 });
 
+register_standard_option('pve-snapshot-name', {
+    description => "The name of the snapshot.",
+    type => 'string', format => 'pve-configid',
+    maxLength => 40,
+});
+
 my $format_list = {};
 
 sub register_format {