From 435063bdd9268499064c3f5c251df9af56f23caa Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 7 May 2014 12:31:55 +0200 Subject: [PATCH] pvesh: fix help command --- bin/pvesh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/pvesh b/bin/pvesh index 7074c14f..50d610ce 100755 --- a/bin/pvesh +++ b/bin/pvesh @@ -292,10 +292,11 @@ sub find_resource_methods { for my $method (qw(GET POST PUT DELETE)) { my $uri_param = {}; - my ($handler, $info, $pm) = PVE::API2->find_handler($method, $path, $uri_param); + my $path_match; + my ($handler, $info) = PVE::API2->find_handler($method, $path, $uri_param, \$path_match); if ($handler && $info && !$ihash->{$info}) { $ihash->{$info} = { - path => $pm, + path => $path_match, handler => $handler, info => $info, uri_param => $uri_param,