projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b18d172
)
fix usage string
author
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 24 Jan 2012 05:49:29 +0000
(06:49 +0100)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 24 Jan 2012 05:49:29 +0000
(06:49 +0100)
data/PVE/RESTHandler.pm
patch
|
blob
|
blame
|
history
diff --git
a/data/PVE/RESTHandler.pm
b/data/PVE/RESTHandler.pm
index d468a4225b764b4661150edae3c033e9c5144fb8..71578471613ac6313b1559bb7745214477c1f0ff 100644
(file)
--- a/
data/PVE/RESTHandler.pm
+++ b/
data/PVE/RESTHandler.pm
@@
-376,7
+376,7
@@
sub usage_str {
$arg_hash->{$p} = 1;
$args .= " " if $args;
if ($pd->{format} && $pd->{format} =~ m/-list/) {
- $args .= "{<
vmid
>}";
+ $args .= "{<
$p
>}";
} else {
$args .= $pd->{optional} ? "[<$p>]" : "<$p>";
}