[pve-devel] applied: [PATCH pve-common] CLIHandler.pm: fix command line completion for simple commands
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Jun 12 11:31:20 CEST 2018
On 6/12/18 10:57 AM, Dietmar Maurer wrote:
> You can simply test behavior using 'qmrestore' ...
>
> Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
> ---
> src/PVE/CLIHandler.pm | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm
> index 8c911b2..316d29d 100644
> --- a/src/PVE/CLIHandler.pm
> +++ b/src/PVE/CLIHandler.pm
> @@ -370,7 +370,6 @@ my $print_bash_completion = sub {
> };
>
> # positional arguments
> - $pos++ if $simple_cmd;
> if ($pos < scalar(@$arg_param)) {
> my $pname = $arg_param->[$pos];
> &$print_parameter_completion($pname);
>
applied
More information about the pve-devel
mailing list