mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-25 21:25:20 +00:00
CLIHandler.pm: fix command line completion for simple commands
You can simply test behavior using 'qmrestore' ... Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
1e5ecf7bf8
commit
6142051558
@ -370,7 +370,6 @@ my $print_bash_completion = sub {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# positional arguments
|
# positional arguments
|
||||||
$pos++ if $simple_cmd;
|
|
||||||
if ($pos < scalar(@$arg_param)) {
|
if ($pos < scalar(@$arg_param)) {
|
||||||
my $pname = $arg_param->[$pos];
|
my $pname = $arg_param->[$pos];
|
||||||
&$print_parameter_completion($pname);
|
&$print_parameter_completion($pname);
|
||||||
|
Loading…
Reference in New Issue
Block a user