Skip to content

Commit ff5145b

Browse files
committed
bash-completion: fix subcommand complete
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 96aedaa commit ff5145b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • data/share/bash-completion/completions

data/share/bash-completion/completions/pkgcheck

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ _pkgcheck() {
5151
done
5252

5353
if (( i == COMP_CWORD )); then
54-
COMPREPLY+=($(compgen -W "${subcommands}" -- "${cur}"))
54+
COMPREPLY+=($(compgen -W "${subcommands[*]}" -- "${cur}"))
5555
return
5656
fi
5757

0 commit comments

Comments
 (0)