[pve-devel] applied: [PATCH common 1/2] cleanup: fix variable typo

Dietmar Maurer dietmar at proxmox.com
Fri Jun 8 06:30:23 CEST 2018


applied

> On June 7, 2018 at 11:59 AM Wolfgang Bumiller <w.bumiller at proxmox.com> wrote:
> 
> 
> Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
> ---
>  src/PVE/CLIHandler.pm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm
> index 222051d..62a61a7 100644
> --- a/src/PVE/CLIHandler.pm
> +++ b/src/PVE/CLIHandler.pm
> @@ -311,13 +311,13 @@ my $print_bash_completion = sub {
>  
>      my ($cmd, $def) = ($simple_cmd, $cmddef);
>      if (!$simple_cmd) {
> -	($cmd, $def, $args, my $expaned) = resolve_cmd($args);
> +	($cmd, $def, $args, my $expanded) = resolve_cmd($args);
>  
>  	if (ref($def) eq 'HASH') {
>  	    &$print_result(@{$get_commands->($def)});
>  	    return;
>  	}
> -	if (my $expanded_cmd = $expaned->{$cur}) {
> +	if (my $expanded_cmd = $expanded->{$cur}) {
>  	    print "$expanded_cmd\n";
>  	    return;
>  	}
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel



More information about the pve-devel mailing list