@@ -26,24 +26,34 @@ _xbps_src_build_packages() {
2626}
2727
2828_arguments -s : \
29+ '-1[Fail if dependencies are missing]' \
30+ '-A[Host architecture]:architecture:($archs)' \
2931 '-a[Cross compile packages]:architecture:($archs)' \
32+ '-b[Build broken, nocross, and excluded packages]' \
33+ '-c[Configuration file]:config: ' \
3034 '-C[Do not remove build directory/autodeps/destdir]' \
3135 '-E[Exit immediately when binary package already exists]' \
3236 '-f[Force building and registering binary packages]' \
3337 '-G[Enable XBPS_USE_GIT_REVS]' \
34- '-Q[Enable running the check stage]' \
3538 '-g[Enable building -dbg packages]' \
3639 '-H[Absolute path to hostdir]:hostdir:_files -/' \
3740 '-h[Help]' \
3841 '-I[Ignore required dependencies]' \
42+ '-i[Make internal errors non-fatal]' \
3943 '-j[Number of parallel build jobs]:number: ' \
44+ '-K[Enable extended checks]' \
4045 '-L[Disable ASCII colors]' \
4146 '-m[Absolute path to masterdir]:masterdir:_files -/' \
4247 '-N[Disable use of remote repositories]' \
48+ '-p[Show additional variables]:variables: ' \
4349 '-o[Set package build options]:options: ' \
50+ '-Q[Enable running the check stage]' \
4451 '-q[Suppress output of xbps-src]' \
4552 '-r[Use alternative local repository]:repo:_files -/' \
53+ '-s[Make some warnings errors]' \
4654 '-t[Create a temporary masterdir]' \
55+ '-v[Show verbose messages]' \
56+ '-V[Print version]' \
4757 '1:target:->target' \
4858 '*::args:->args' && ret=0
4959
@@ -64,9 +74,7 @@ case $state in
6474 case $words[1] in
6575 build|check|configure|extract|fetch|install|patch|pkg|show|show-avail|show-build-deps|show-hostmakedepends|show-makedepends|show-options|update-check)
6676 _arguments ':package:_xbps_src_all_packages' && ret=0;;
67- binary-bootstrap)
68- _arguments '::architecture:($archs)' && ret=0;;
69- bootstrap|bootstrap-update|chroot|clean-repocache|consistency-check|list|purge-distfiles|remove-autodeps|show-repo-updates|show-sys-updates|update-bulk|update-sys|update-hash-cache)
77+ binary-bootstrap|bootstrap|bootstrap-update|chroot|clean-repocache|consistency-check|list|purge-distfiles|remove-autodeps|show-repo-updates|show-sys-updates|update-bulk|update-sys|update-hash-cache)
7078 # no further arguments
7179 ret=0;;
7280 clean)
0 commit comments