_xbps_src: add completion for update-check.

This commit is contained in:
Christian Neukirchen 2014-11-13 15:29:43 +01:00 committed by Juan RP
parent fcaf18c494
commit e1bdeb83a1

View File

@ -50,11 +50,11 @@ case $state in
list pkg remove remove-autodeps show show-build-deps \
show-deps show-files show-options show-shlib-provides \
show-shlib-requires show-var show-repo-updates \
show-sys-updates update-bulk update-sys zap
show-sys-updates update-bulk update-check update-sys zap
ret=0;;
args)
case $words[1] in
build|configure|extract|fetch|install|pkg|show|show-build-deps)
build|configure|extract|fetch|install|pkg|show|show-build-deps|update-check)
_arguments ':package:_xbps_src_all_packages' && ret=0;;
binary-bootstrap)
_arguments '::architecture:($archs)' && ret=0;;