]> git.proxmox.com Git - pve-client.git/blobdiff - PVE/APIClient/Commands/help.pm
help.pm: fix generate usage string (hide password option)
[pve-client.git] / PVE / APIClient / Commands / help.pm
index 076305aa03d415fc92f48519b24eda135121d79c..407af5ed0c4ed8de3964fe9a2c2508554cb050c5 100644 (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 {