[pve-devel] r5302 - pve-common/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Nov 9 07:24:35 CET 2010


Author: dietmar
Date: 2010-11-09 06:24:35 +0000 (Tue, 09 Nov 2010)
New Revision: 5302

Modified:
   pve-common/trunk/RESTHandler.pm
Log:
put <> around variables in usage text


Modified: pve-common/trunk/RESTHandler.pm
===================================================================
--- pve-common/trunk/RESTHandler.pm	2010-11-08 10:50:44 UTC (rev 5301)
+++ pve-common/trunk/RESTHandler.pm	2010-11-09 06:24:35 UTC (rev 5302)
@@ -249,7 +249,7 @@
 	$args .= $prop->{$p} && $prop->{$p}->{optional} ? "[<$p>]" : "<$p>";
     }
 
-   my $get_type_text = sub {
+    my $get_type_text = sub {
 	my ($k) = @_;
 
 	my $phash = $prop->{$k};
@@ -341,7 +341,7 @@
 
 	if (!$prop->{$k}->{optional}) {
 	    $args .= " " if $args;
-	    $args .= "-$base $type"
+	    $args .= "-$base <$type>"
 	}
     } 
 



More information about the pve-devel mailing list