[pve-devel] [pve-manager] use new schema option 'addStandardCliParameters'
Dietmar Maurer
dietmar at proxmox.com
Tue Jul 24 11:45:53 CEST 2018
Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
---
bin/pvesh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/bin/pvesh b/bin/pvesh
index 36c9a900..8df71681 100755
--- a/bin/pvesh
+++ b/bin/pvesh
@@ -270,6 +270,7 @@ __PACKAGE__->register_method ({
path => 'get',
method => 'GET',
description => "Call API GET on <api_path>.",
+ addStandardCliParameters => 1,
parameters => {
additionalProperties => 0,
properties => $path_properties,
@@ -286,6 +287,7 @@ __PACKAGE__->register_method ({
path => 'set',
method => 'PUT',
description => "Call API PUT on <api_path>.",
+ addStandardCliParameters => 1,
parameters => {
additionalProperties => 0,
properties => $path_properties,
@@ -302,6 +304,7 @@ __PACKAGE__->register_method ({
path => 'create',
method => 'POST',
description => "Call API POST on <api_path>.",
+ addStandardCliParameters => 1,
parameters => {
additionalProperties => 0,
properties => $path_properties,
@@ -318,6 +321,7 @@ __PACKAGE__->register_method ({
path => 'delete',
method => 'DELETE',
description => "Call API DELETE on <api_path>.",
+ addStandardCliParameters => 1,
parameters => {
additionalProperties => 0,
properties => $path_properties,
--
2.11.0
More information about the pve-devel
mailing list