mirror of
https://git.proxmox.com/git/pve-client
synced 2026-01-25 22:18:41 +00:00
help.pm: fix generate usage string (hide password option)
This commit is contained in:
parent
cff6d4f9a3
commit
aa9d64b341
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user