From: Dietmar Maurer Date: Tue, 19 Jun 2018 05:43:46 +0000 (+0200) Subject: fix parameter name inside description, minor cleanups X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=commitdiff_plain;h=4fbacba6deb6f06b5b6dde2524583ae62ca1d6c3 fix parameter name inside description, minor cleanups --- diff --git a/pveclient b/pveclient index d13b7eb..2995fd5 100755 --- a/pveclient +++ b/pveclient @@ -51,7 +51,7 @@ sub call_api_method { use base qw(PVE::APIClient::CLIHandler); sub read_password { - return PVE::APIClient::PTY::read_password("Remote password: ") + return PVE::APIClient::PTY::read_password("Remote password: ") } @@ -115,7 +115,7 @@ __PACKAGE__->register_method ({ name => 'pveclient_get', path => 'pveclient_get', method => 'GET', - description => "call API GET on .", + description => "Call API GET on .", parameters => { additionalProperties => 0, properties => $path_properties, @@ -131,7 +131,7 @@ __PACKAGE__->register_method ({ name => 'pveclient_set', path => 'pveclient_set', method => 'PUT', - description => "call API PUT on .", + description => "Call API PUT on .", parameters => { additionalProperties => 0, properties => $path_properties, @@ -147,7 +147,7 @@ __PACKAGE__->register_method ({ name => 'pveclient_create', path => 'pveclient_create', method => 'PUSH', - description => "call API PUSH on .", + description => "Call API PUSH on .", parameters => { additionalProperties => 0, properties => $path_properties, @@ -163,7 +163,7 @@ __PACKAGE__->register_method ({ name => 'pveclient_delete', path => 'pveclient_delete', method => 'DELETE', - description => "call API DELETE on .", + description => "Call API DELETE on .", parameters => { additionalProperties => 0, properties => $path_properties,