]> git.proxmox.com Git - pve-common.git/commitdiff
cli: whitespace cleanup
authorPhilip Abernethy <p.abernethy@proxmox.com>
Tue, 17 Oct 2017 11:16:26 +0000 (13:16 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 17 Oct 2017 11:27:21 +0000 (13:27 +0200)
src/PVE/CLIHandler.pm

index 0c48335fb6308895be3993373a2584e803ff61ef..73e8ee632fc9cd204d5db0a2532e1acfa3226d28 100644 (file)
@@ -48,12 +48,12 @@ my $complete_command_names = sub {
 };
 
 __PACKAGE__->register_method ({
 };
 
 __PACKAGE__->register_method ({
-    name => 'help', 
+    name => 'help',
     path => 'help',
     method => 'GET',
     description => "Get help about specified command.",
     parameters => {
     path => 'help',
     method => 'GET',
     description => "Get help about specified command.",
     parameters => {
-       additionalProperties => 0,
+       additionalProperties => 0,
        properties => {
            cmd => {
                description => "Command name",
        properties => {
            cmd => {
                description => "Command name",
@@ -69,7 +69,7 @@ __PACKAGE__->register_method ({
        },
     },
     returns => { type => 'null' },
        },
     },
     returns => { type => 'null' },
-    
+
     code => sub {
        my ($param) = @_;
 
     code => sub {
        my ($param) = @_;
 
@@ -83,7 +83,7 @@ __PACKAGE__->register_method ({
        if (!$cmd) {
            if ($verbose) {
                print_usage_verbose();
        if (!$cmd) {
            if ($verbose) {
                print_usage_verbose();
-           } else {            
+           } else {
                print_usage_short(\*STDOUT);
            }
            return undef;
                print_usage_short(\*STDOUT);
            }
            return undef;
@@ -310,7 +310,7 @@ sub verify_api {
 
 my $get_exe_name = sub {
     my ($class) = @_;
 
 my $get_exe_name = sub {
     my ($class) = @_;
-    
+
     my $name = $class;
     $name =~ s/^.*:://;
     $name =~ s/_/-/g;
     my $name = $class;
     $name =~ s/^.*:://;
     $name =~ s/_/-/g;