]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/CLIHandler.pm
CLIHandler.pm: fix command line completion for simple commands
[pve-common.git] / src / PVE / CLIHandler.pm
index 8c911b2ebeb1f5d48026d51f6534e0f7e29e11db..316d29d72108574d3df137f4c7faaa277fd99260 100644 (file)
@@ -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);