]> git.proxmox.com Git - pve-client.git/blobdiff - PVE/APIClient/Commands/help.pm
Add start command
[pve-client.git] / PVE / APIClient / Commands / help.pm
index 076305aa03d415fc92f48519b24eda135121d79c..efb964acc4c53e93154de34dacb34e7d630ad425 100644 (file)
@@ -4,7 +4,9 @@ use strict;
 use warnings;
 
 use PVE::APIClient::Commands::help;
+use PVE::APIClient::Commands::list;
 use PVE::APIClient::Commands::lxc;
+use PVE::APIClient::Commands::config;
 use PVE::APIClient::Commands::remote;
 
 use PVE::CLIHandler;
@@ -45,7 +47,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 {
@@ -55,8 +57,10 @@ __PACKAGE__->register_method ({
        };
 
        $assemble_usage_string->('help', $PVE::APIClient::Commands::help::cmddef);
+       $assemble_usage_string->('list', $PVE::APIClient::Commands::list::cmddef);
        $assemble_usage_string->('lxc', $PVE::APIClient::Commands::lxc::cmddef);
        $assemble_usage_string->('remote', $PVE::APIClient::Commands::remote::cmddef);
+       $assemble_usage_string->('config', $PVE::APIClient::Commands::config::cmddef);
 
        $text .= "pveclient <get/set/create/delete> <path> {options}\n\n";