]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/CLIHandler.pm
cleanup: fix variable typo
[pve-common.git] / src / PVE / CLIHandler.pm
index 222051dcdb3e02fa186d17babe319c0476994a19..62a61a7b35c56326639fb70d36132c8836c5cfec 100644 (file)
@@ -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;
        }