help.pm: fix generate usage string (hide password option)

This commit is contained in:
Dietmar Maurer 2018-06-05 10:37:41 +02:00
parent cff6d4f9a3
commit aa9d64b341

View File

@ -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 {