[pve-devel] r6442 - pve-common/trunk/data/PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Aug 10 10:50:20 CEST 2011


Author: dietmar
Date: 2011-08-10 10:50:20 +0200 (Wed, 10 Aug 2011)
New Revision: 6442

Modified:
   pve-common/trunk/data/PVE/CLIHandler.pm
Log:


Modified: pve-common/trunk/data/PVE/CLIHandler.pm
===================================================================
--- pve-common/trunk/data/PVE/CLIHandler.pm	2011-08-10 08:19:39 UTC (rev 6441)
+++ pve-common/trunk/data/PVE/CLIHandler.pm	2011-08-10 08:50:20 UTC (rev 6442)
@@ -110,7 +110,7 @@
     my ($podfn) = @_;
 
     die "not initialized" if !($cmddef && $exename);
-    die "no pod filename" if !$podfn;
+    die "no pod file specified" if !$podfn;
 
     my $synopsis = "";
     
@@ -119,7 +119,8 @@
     my $oldclass;
     foreach my $cmd (sorted_commands()) {
 	my ($class, $name, $arg_param, $uri_param) = @{$cmddef->{$cmd}};
-	my $str = $class->usage_str($name, "$exename $cmd", $arg_param, $uri_param, 'short');
+	my $str = $class->usage_str($name, "$exename $cmd", $arg_param, 
+				    $uri_param, 'short');
 	$synopsis .= "\n" if $oldclass && $oldclass ne $class;
 	$synopsis .= " $str";
 	$oldclass = $class;




More information about the pve-devel mailing list