From aa9d64b341dbae84492c705a9f79fefbcc9ee85a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 5 Jun 2018 10:37:41 +0200 Subject: [PATCH] help.pm: fix generate usage string (hide password option) --- PVE/APIClient/Commands/help.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/APIClient/Commands/help.pm b/PVE/APIClient/Commands/help.pm index 076305a..407af5e 100644 --- a/PVE/APIClient/Commands/help.pm +++ b/PVE/APIClient/Commands/help.pm @@ -45,7 +45,7 @@ __PACKAGE__->register_method ({ if (ref($def->{$cmd}) eq 'ARRAY') { my ($class, $name, $arg_param, $fixed_param) = @{$def->{$cmd}}; - $text .= $class->usage_str($name, "pveclient $subcommand $name", $arg_param, $fixed_param, $format); + $text .= $class->usage_str($name, "pveclient $subcommand $name", $arg_param, $fixed_param, $format, $class->can('read_password')); } } } else { -- 2.39.2